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
| Name | Type | Access | Description |
|---|---|---|---|
Left | double | Read | Left coordinate (0 = unchanged). |
Top | double | Read | Top coordinate (0 = unchanged). |
Zoom | double | Read | Zoom factor (0 = unchanged). |
PageNumber | int | Read | Target page number (1-based). |
Type | string | Read | The destination type name (Fit, XYZ, FitH, etc). |
Page | Page? | Read | The target page (API parity). |
Methods
| Signature | Description |
|---|---|
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. |