( new Bookmark( "Top level bookmark to page 1", 0, 0 ) ) Outline parentOutline = ( "Parent Outline" ) Page page3 = new Page( PageSize.Letter ) Page page2 = new Page( PageSize.Letter ) Page page1 = new Page( PageSize.Letter ) Sample Code - C# Document document = new Document() Add all the pages to the Document instance.For each child Bookmark, specifying its parent outline.Add four top level Bookmark object instances, one for each Page instance.Create a Outline as a parent object to the document.Steps for Adding Bookmarks to a PDF Document Adding Bookmarks & Outlines to PDF (.NET Core/Framework)īookmarks and Outlines can be added to a PDF document using the DynamicPDF Core Suite Bookmark and Outline classes.īelow are the steps and sample code to add Bookmarks to PDF document using DynamicPDF Core Suite.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |