We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

PdfBookmark doesn't seem to support "GotoR" actions

Thread ID:

Created:

Updated:

Platform:

Replies:

119293 Jun 2,2015 01:59 PM Jun 3,2015 11:25 AM Xamarin.Forms 2
loading
Tags: PDF
Pascal
Asked On June 2, 2015 01:59 PM

I open correctly a pdf which contains a table of contents (Bookmarks).
I parse bookmarks, but when I arrive on bookmark that has an action GotoR... Action and Destination properties has null value.
If I use debugger to analyse the PdfLoadedBookmark instance, In private members, I see that the action is well GotoR.
There is any solution to access to this "private" member value ?
I miss something with bookmarks ?

Thx

Pascal
Replied On June 2, 2015 02:07 PM

((Syncfusion.Pdf.Primitives.PdfString)new System.Collections.Generic.Mscorlib_DictionaryDebugView<Syncfusion.Pdf.Primitives.PdfName, Syncfusion.Pdf.Primitives.IPdfPrimitive>(((Syncfusion.Pdf.Primitives.PdfDictionary)((Syncfusion.Pdf.Primitives.PdfReferenceHolder)new System.Collections.Generic.Mscorlib_DictionaryDebugView<Syncfusion.Pdf.Primitives.PdfName, Syncfusion.Pdf.Primitives.IPdfPrimitive>(((Syncfusion.Pdf.Primitives.PdfDictionary)new System.Collections.Generic.Mscorlib_DictionaryDebugView<Syncfusion.Pdf.Primitives.PdfName, Syncfusion.Pdf.Primitives.IPdfPrimitive>(bookmark.Dictionary.Items).Items[2].Value).Items).Items[1].Value).m_object).Items).Items[1].Value).Value

I find at this place, the expected value : the filename targetted by the bookmark

Karthik Krishnaraj [Syncfusion]
Replied On June 3, 2015 11:25 AM

Hi Pascal
Thank you for using syncfusion products,
We have analyzed your issue with “Destination and action property is null when action is Goto”, I have attached a simple sample in which the Destination property of the bookmarks is present, whereas the Action property is null. We are analyzing on this and we will update more details regarding this issue on June 5, 2015.
Sample Link:
http://www.syncfusion.com/downloads/support/forum/119293/ze/BookMark-1719426028
Thanks,
Karthik

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;