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).

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).
toCOSArray()COSArray
getPage()PageReturns the target page.
getPageNumber()intReturns the 1-based page number.
fromCOSArray(arr: COSArray, doc: Document)ExplicitDestinationParses an ExplicitDestination from a COS array.

See Also