Click or drag to resize

PdfOutlineSetDestination Method

Sets the explicit destination that shall be displayed when this item is activated (see 12.3.2.2, "Explicit Destinations").

parameters represent the following values depending on the viewType parameter:

FitRectangle
Left, Bottom, Right and Top.
LeftTopZoom
Left, Top and Zoom.
FitPageVertical and FitContentVertical
Left.
FitPageHorizontal and FitContentHorizontal
Top.
FitPage and FitContent
None.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1002
Syntax
public PdfDestination SetDestination(
	PdfPage page,
	PdfDestinationViewType viewType,
	params Nullable<double>[] parameters
)

Parameters

page
Type: GemBox.PdfPdfPage
The page that shall be displayed when this item is activated.
viewType
Type: GemBox.PdfPdfDestinationViewType
Type of the view.
parameters
Type: SystemNullableDouble
The parameters of the view.

Return Value

Type: PdfDestination
The explicit destination that shall be displayed when this item is activated.
See Also