XYZExplicitDestination

XYZExplicitDestination

Overview

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

XYZ explicit destination (ISO 32000-1:2008, Table 151).

This class provides 9 methods for working with XYZExplicitDestination objects in Java programs. Available methods include: XYZExplicitDestination, fromPdfArray, getLeft, getPage, getPageNumber, getTop, getZoom, toPdfArray. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: left, page, pageNumber, top, zoom.

Properties

NameTypeAccessDescription
leftdoubleReadReturns the left coordinate, or NaN if unspecified.
topdoubleReadReturns the top coordinate, or NaN if unspecified.
zoomdoubleReadReturns the zoom factor (0 = unchanged).
pagePageReadReturns the target page.
pageNumberintReadReturns the 1-based page number.

Methods

SignatureDescription
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() → doubleReturns the left coordinate, or NaN if unspecified.
getTop() → doubleReturns the top coordinate, or NaN if unspecified.
getZoom() → doubleReturns the zoom factor (0 = unchanged).
toPdfArray() → PdfArray
getPage() → PageReturns the target page.
getPageNumber() → intReturns the 1-based page number.
fromPdfArray(arr: PdfArray, doc: Document) → ExplicitDestinationParses an ExplicitDestination from a PDF array.

See Also

 English