HideAction
Overview
HideAction is a class in Aspose.Pdf FOSS for Java.
Inherits from: PdfAction.
Hide action — shows or hides annotations (ISO 32000-1:2008, §12.6.4.10).
Properties
| 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. |
cOSDictionary | COSDictionary | 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. |
Methods
| Signature | Description |
|---|---|
HideAction(dict: COSDictionary) | 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. |
getCOSDictionary() → COSDictionary | Returns the underlying action dictionary. |
getType() → String | Returns the action type (/S entry). |
getNext() → PdfAction | Returns the next action (/Next), if any. |
fromDictionary(dict: COSDictionary, doc: Document) → PdfAction | Factory: creates the appropriate PdfAction subclass from a dictionary. |