XYZExplicitDestination

XYZExplicitDestination

Overview

XYZExplicitDestination is a class in Aspose.PDF FOSS for .NET. Inherits from: ExplicitDestination.

XYZ explicit destination: display the page at position (left, top) with zoom factor.

This class provides 7 methods for working with XYZExplicitDestination objects in .NET programs. Available methods include: CreateDestination, CreateDestinationToUpperLeftCorner, ToString, XYZExplicitDestination. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Left, Page, PageNumber, Top, Type, Zoom.

Properties

NameTypeAccessDescription
LeftdoubleReadLeft coordinate (0 = unchanged).
TopdoubleReadTop coordinate (0 = unchanged).
ZoomdoubleReadZoom factor (0 = unchanged).
PageNumberintReadTarget page number (1-based).
TypestringReadThe destination type name (Fit, XYZ, FitH, etc).
PagePage?ReadThe target page (API parity).

Methods

SignatureDescription
XYZExplicitDestination(page: Page, left: double, top: double, zoom: double)Create an XYZ destination to a specific page with coordinates.
XYZExplicitDestination(pageNumber: int, left: double, top: double, zoom: double)Create an XYZ destination by page number.
XYZExplicitDestination(document: Document, pageNumber: int, left: double, top: double, zoom: double)Create an XYZ destination for a page number in the given document (API parity).
ToString()Calls ToString on this XYZExplicitDestination instance.
CreateDestinationToUpperLeftCorner(page: Page)Build an XYZ destination pointing at the upper-left corner of page.
CreateDestinationToUpperLeftCorner(page: Page, zoom: double)Upper-left destination with an explicit zoom factor.
CreateDestination(page: Page, left: double, top: double, zoom: double, considerRotation: bool)Build an XYZ destination.

See Also