Destination Constructor (Page, DestinationType)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the Destination 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

public Destination(
	Page page,
	DestinationType destinationType
)

Parameters

page
Type: Apitron.PDF.Kit.FixedLayoutPage
The page.
destinationType
Type: Apitron.PDF.Kit.Interactive.Navigation.DocumentLevelDestinationType
Type of the destination.
Examples

C#
FixedDocument document = new FixedDocument();
Page page = new Page();

// create named destination and action
Destination destination = new Destination(document.Pages[0], new DestinationTypeFitR());
GoToAction action = new GoToAction(namedDestination);

// add bookmark
Bookmark bookmark = new Bookmark(action, "Page #1 outline" );
See Also

Reference