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
| Name | Type | Access | Description |
|---|---|---|---|
hide | boolean | Read | Returns whether this action hides annotations (default {@code true}). |
annotationNames | String[] | Read | Returns the annotation name(s) targeted by this action. |
pdfDictionary | PdfDictionary | Read | Returns the underlying action dictionary. |
type | String | Read | Returns the action type (/S entry). |
next | PdfAction | Read | Returns the next action (/Next), if any. |
méthodes
| Signature | Description |
|---|---|
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() → boolean | Returns 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() → PdfDictionary | Returns the underlying action dictionary. |
getType() → String | Returns the action type (/S entry). |
getNext() → PdfAction | Returns the next action (/Next), if any. |
fromDictionary(dict: PdfDictionary, doc: Document) → PdfAction | Factory: creates the appropriate PdfAction subclass from a dictionary. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise