PeachDrawing.PDF.PdfComposer

PdfComposer.AddBookmarks(IEnumerable<PdfBookmark>) Method

Adds entries to the document outline (the bookmarks sidebar of a reader). Each entry nests under the nearest preceding entry of the same batch with a shallower level, or sits at the top if there is none - the conventional heading-outline shape.

public void AddBookmarks(System.Collections.Generic.IEnumerable<PeachDrawing.PDF.PdfBookmark> bookmarks);

Parameters

bookmarks System.Collections.Generic.IEnumerable<PdfBookmark>

the entries, in document order