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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Create Pdf bookmarks based on font Style

Thread ID:





120083 Aug 28,2015 11:11 AM UTC Aug 31,2015 08:36 AM UTC WinForms 1
Tags: PDF
Sérgio Rodrigues Costa
Asked On August 28, 2015 11:11 AM UTC

Is there any way to create bookmarks based on font style from an existent pdf file, or creating a new one?


Karthik Krishnaraj [Syncfusion]
Replied On August 31, 2015 08:36 AM UTC

Hi Sérgio,
Thanks for using Syncfusion product,
We can set the font style of PdfBookmark from the existing bookmark’s text style. Please refer the below code snippet.

PdfBookmark bookmark = document.Bookmarks.Add("New Bookmark");
bookmark.TextStyle = document.Bookmarks[0].TextStyle;
We have attached sample for your reference.
Sample Link:
Please try the above sample and let us know your result.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon