HideAction

Vue de l’ensemble

‘HideAction’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: PdfAction.

Actions cachées – affiches ou cache des notes (ISO 32000-1:2008, §12.6.4.10).

Cette classe fournit 10 méthodes pour travailler avec des objets HideAction dans les programmes Java. Les méthodologies disponibles comprennent: Hideaction, fromDictionary , getAnnotationNames ; ‘getNext; getPdfDictator : ‘getType et isHid. Tous les membres publics sont accessibles à toute application Java après avoir installé l’Aspose.PDF FOSS pour le package Java . Propriétés : annotationnames‘, 'hide ou «next », 'pdfDictor .

Propriétés

NameTypeAccessDescription
hidebooleanReadReturns whether this action hides annotations (default {@code true}).
annotationNamesString[]ReadReturns the annotation name(s) targeted by this action.
pdfDictionaryPdfDictionaryReadReturns the underlying action dictionary.
typeStringReadReturns the action type (/S entry).
nextPdfActionReadReturns the next action (/Next), if any.

méthodes

SignatureDescription
HideAction(dict: PdfDictionary)Parses a HideAction from an existing dictionary.
HideAction(annotationName: String, hide: boolean)Creates a HideAction targeting a single annotation by name.
HideAction(annotationNames: String[], hide: boolean)Creates a HideAction targeting multiple annotations by name.
isHide()booleanReturns whether this action hides annotations (default {@code true}).
setHide(hide: boolean)Sets whether this action hides or shows annotations.
getAnnotationNames()String[]Returns the annotation name(s) targeted by this action.
getPdfDictionary()PdfDictionaryReturns the underlying action dictionary.
getType()StringReturns the action type (/S entry).
getNext()PdfActionReturns the next action (/Next), if any.
fromDictionary(dict: PdfDictionary, doc: Document)PdfActionFactory: creates the appropriate PdfAction subclass from a dictionary.

Voir aussi

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