XYZExplicitDestination
Overview
XYZExplicitDestination is a class in Aspose.Pdf FOSS for Java.
Inherits from: ExplicitDestination.
XYZ explicit destination (ISO 32000-1:2008, Table 151).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
left | double | Read | Returns the left coordinate, or NaN if unspecified. |
top | double | Read | Returns the top coordinate, or NaN if unspecified. |
zoom | double | Read | Returns the zoom factor (0 = unchanged). |
page | Page | Read | Returns the target page. |
pageNumber | int | Read | Returns the 1-based page number. |
Methods
| Signature | Description |
|---|---|
XYZExplicitDestination(page: Page, left: double, top: double, zoom: double) | Creates an XYZ destination targeting a page. |
XYZExplicitDestination(pageNumber: int, left: double, top: double, zoom: double) | Creates an XYZ destination by page number (no page object yet known). |
getLeft() → double | Returns the left coordinate, or NaN if unspecified. |
getTop() → double | Returns the top coordinate, or NaN if unspecified. |
getZoom() → double | Returns the zoom factor (0 = unchanged). |
toCOSArray() → COSArray | |
getPage() → Page | Returns the target page. |
getPageNumber() → int | Returns the 1-based page number. |
fromCOSArray(arr: COSArray, doc: Document) → ExplicitDestination | Parses an ExplicitDestination from a COS array. |