SetOCGStateAction
Overview
SetOCGStateAction is a class in Aspose.Pdf FOSS for Java.
Inherits from: PdfAction.
SetOCGState action — changes the state of Optional Content Groups (ISO 32000-1:2008, §12.6.4.12).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
state | COSArray | Read | Returns the state change array. |
preserveRB | boolean | Read | Returns whether radio-button group relationships are preserved. |
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 |
|---|---|
SetOCGStateAction(dict: COSDictionary) | Parses a SetOCGStateAction from an existing dictionary. |
getState() → COSArray | Returns the state change array. |
setState(state: COSArray) | Sets the state change array. |
isPreserveRB() → boolean | Returns whether radio-button group relationships are preserved. |
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. |