Bookmark

Vue de l’ensemble

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

Représente un livre (objet d’outline) dans un document PDF.

Cette classe fournit 18 méthodes pour travailler avec des objets Bookmark dans les programmes Java. Les méthodologies disponibles comprennent: ‘Bookmark’, ‘getAction’, getChildItems', ‘getDestination’, ' getLevel', ’getPageDisplay', ‚getTitle, ’netPagesNumber , 'setTite et 6 méthode supplémentaires. 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 : ‘action ; 'child Items; ‘destinations : niveau de pagedisplays,page_zom` 2 et plus.

Propriétés

NameTypeAccessDescription
titleStringReadReturns the title of this bookmark.
pageNumberintReadReturns the 1-based page number this bookmark points to.
actionStringReadReturns the action string associated with this bookmark.
childItemsList<Bookmark>ReadReturns the child bookmarks.
levelintReadReturns the nesting level of this bookmark.
destinationExplicitDestinationReadReturns the destination associated with this bookmark.
pageDisplayExplicitDestinationReadReturns the page display destination for this bookmark.
pageDisplay_ZoomdoubleReadReturns the zoom factor from the XYZ destination, or 0 if not set.

méthodes

SignatureDescription
Bookmark()Creates a new empty bookmark.
getTitle()StringReturns the title of this bookmark.
setTitle(title: String)Sets the title of this bookmark.
getPageNumber()intReturns the 1-based page number this bookmark points to.
setPageNumber(pageNumber: int)Sets the 1-based page number this bookmark points to.
getAction()StringReturns the action string associated with this bookmark.
setAction(action: String)Sets the action string associated with this bookmark.
getChildItems()List<Bookmark>Returns the child bookmarks.
setChildItems(childItems: List<Bookmark>)Sets the child bookmarks.
getLevel()intReturns the nesting level of this bookmark.
setLevel(level: int)Sets the nesting level of this bookmark.
getDestination()ExplicitDestinationReturns the destination associated with this bookmark.
setDestination(destination: ExplicitDestination)Sets the destination for this bookmark.
setPageDisplay(dest: ExplicitDestination)Sets the page display destination for this bookmark.
getPageDisplay()ExplicitDestinationReturns the page display destination for this bookmark.
getPageDisplay_Zoom()doubleReturns the zoom factor from the XYZ destination, or 0 if not set.
setPageDisplay_Zoom(zoom: double)Sets the zoom factor for the page display.
toString()String

Voir aussi

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