Link Search Menu Expand Document

Destination Constructor (Page, Single, Boolean)

Initializes a new instance of the Bytescout.PDF.Destination.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.1.1.556-master
Syntax
public Destination(
	Page page,
	float top,
	bool fixAdobeRotatedPagesIssue = true
)

Parameters

page
Type: Bytescout.PDFPage
The destination page.
top
Type: SystemSingle
The vertical coordinate of the page that should be positioned at the top edge of the window when the page is displayed.
fixAdobeRotatedPagesIssue (Optional)
Type: SystemBoolean
If the destination points to a rotated page (see RotationAngle) Adobe Reader jumps to incorrect position. This parameter fixes the issue (its is true be default), but has a side effect: Chromium-based web browsers (used as a PDF viewer) may misinterpret such fixed destination. Set the parameter to false to revert the behavior.
See Also

Reference


Copyright © 2016 - 2021 ByteScout