XYZExplicitDestination

XYZExplicitDestination

Vue d’ensemble

‘XYZExplicitDestination’ est une classe dans Aspose.PDF FOSS pour Java.

Destination explicite XYZ (ISO 32000-1:2008, tableau 151).

Cette classe fournit 9 méthodes pour travailler avec XYZExplicitDestination objets dans les programmes Java. Les méthodologies disponibles comprennent: ‘XYZexpliciteDestition’, ‘fromPdfArray’, getLeft', ‘getPage, ‘getTop’ , ‘getZoom,toPdArry`. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ’left’, ’page’, ‘pageNumber’, ‚top‘, ‘zoom’.

Propriétés

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.

méthodes

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.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français