Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Initializes a new instance of the Bookmark class.
Namespace: Apitron.PDF.Kit.Interactive.Navigation.DocumentLevel
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax
Parameters
- action
- Type: Apitron.PDF.Kit.Interactive.ActionsIAction
The action. - title
- Type: SystemString
The title. - isOpen (Optional)
- Type: SystemBoolean
if set to true [is open].
Examples
C#
FixedDocument document = new FixedDocument(); Page page = new Page(); // create named destination and action Destination namedDestination = new Destination("Page #1"); GoToAction action = new GoToAction(namedDestination); // add bookmark Bookmark bookmark = new Bookmark(action, "Page #1 outline" ); document.Bookmarks.AddLast(bookmark); document.Pages.Add(page);
See Also