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

Bookmarks in PDF file

4 Answers 81 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 08 May 2013, 10:41 AM
Hi there!
Can I get hold of the bookmarks, links in the pdf file from RadPdfViewer or am I just out of luck?
If I can, how do I do it?

4 Answers, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 09 May 2013, 02:45 PM
Hi Peter,

Please refer to this article which describes the exposed API for retrieving and using Annotations such as Links and Bookmarks. It sounds like it would be just what you need.

Kind regards,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Peter
Top achievements
Rank 1
answered on 13 May 2013, 07:50 AM
Thanks! That is what I was looking for!
0
pravin
Top achievements
Rank 1
answered on 13 Jul 2018, 08:29 AM

Hi,

I also checked this https://docs.telerik.com/devtools/wpf/controls/radpdfviewer/document-model/annotations link but don't know what to do with this as , "pages" shows "HasContent" as false for each "page"

I have bookmarks within my pdf and want to list them down to be shown in my pages as information but not sure how to do it using this code in above mentioned URL.

Please help me with that.
thanks,
Pravin Ingle 

0
Georgi
Telerik team
answered on 17 Jul 2018, 03:10 PM
Hi Pravin,

The bookmarks collection in the PDF document model is a hierarchy of objects where each bookmark item has a destination and title. You can access the destinations collection on document level and use the RadPdfViewer.GoToDestination functionality in order to implement the bookmarks behavior, as can be seen on the Annotations section you referred to.
You can achieve your own bookmarks implementation by building UI based on the destinations collection. However, as the title and bookmarks hierarchy information are not provided on document import, you should build your own bookmarks structure and visualize it as preferred.

I am happy to say that the bookmarks implementation for RadPdfViewer is in progress and is scheduled for the upcoming R3 2018 release. We have logged a feature request in our feedback portal, where you can subscribe to be notified for any status updates.

Regards,
Georgi
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
PDFViewer
Asked by
Peter
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Peter
Top achievements
Rank 1
pravin
Top achievements
Rank 1
Georgi
Telerik team
Share this question
or