SharpLeaf Reference > ParagraphStyle Structure > BookmarkLevel Property ParagraphStyle.BookmarkLevel Property
Level of automatic bookmarking at each new paragraph (defaults to 0 for disabled).
public int BookmarkLevel {get; set;}
Example
style.BookmarkLevel = 1; // Top-level bookmark
Description
Currently supported only by PDF. Use PdfMode.ShowOutlines to force the viewer to show them.
The bookmark title used is the first line of the paragraph, which makes it hard for retrieval with SharpLeaf.AddBookmarkReference. In references are required, SharpLeaf.SetBookmark should be used instead.
See also ...SharpLeaf.SetBookmark Method | ParagraphStyle.Members | ParagraphStyle.BookmarkOpened Property
Send comments on this topic © Dyalog Ltd 2021
|