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.
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.