Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
Are there any examples of how to include Bookmarks in a PDF?
posted

I need to generate a set of bookmarks to show the outline of a PDF document, does anyone have an example of how to do this, as the documentation is very sparce on this?

Thanks,

Richard

  • 10880
    Suggested Answer
    posted

    You will have to just set the Heading property off an IText object.  Once you do that call the Bookmarks.AddLevel method off the report object for each level of hierarchy you have.  This will create bookmarks for your pdf document that your users can use to quickly navigate through your document.