This is a migrated thread and some comments may be shown as answers.

Bookmarks/Destinations Not There

1 Answer 106 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Seth
Top achievements
Rank 1
Seth asked on 17 Mar 2014, 02:52 PM
I'm trying to use the GetAllBookmarks code from here; http://www.telerik.com/help/wpf/radpdfviewer-document-model-annotations.html

But the collection of annotations in my document is empty.

I cannot attach the pdf because it has the wrong file type but Foxit PDF does list and use the bookmarks in the document correctly.

Here is the code I am using to load the pdf;

Dim pdfStream As System.IO.FileStream = New System.IO.FileStream("C:\test2.pdf", IO.FileMode.Open)
pdfStream.Position = 0

Dim document As RadFixedDocument = New PdfFormatProvider(pdfStream, FormatProviderSettings.ReadOnDemand).Import()
wpfPrintVersion.pdfViewer.Document = document


I am on version 2014.1.224.40.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Petya
Telerik team
answered on 19 Mar 2014, 09:47 AM
Hi,

Thank you for contacting us.

At this point RadPdfViewer only supports Link annotations, so in case the annotations in your document are not of this type they might not work properly. Additionally, what most viewers of PDF documents (for example, Adobe Reader) list as "Bookmarks" is a feature called document outline which currently unsupported by RadPdfViewer.

Let us know if there is anything else we can help you with.

Regards,
Petya
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
Tags
PDFViewer
Asked by
Seth
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or