SélectionnaireActions
Vue de l’ensemble
‘SetOCGStateAction’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: PdfAction.
Action de l’OCGState – modifiant l’état des groupes de contenu facultatif (ISO 32000-1:2008, §12.6.4.12).
Cette classe fournit 8 méthodes pour travailler avec les objets SetOCGStateAction dans les programmes Java. Les méthodologies disponibles comprennent: SetOCgStadeAction, fromDictionary , ‘getNext;getPdfDictary‘, ’ getStite; 'ghetType : isPreserveRB et 'setStat. 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 : next., pdfDictorial,, preserve RB', state`…
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
state | PdfArray | Read | Returns the state change array. |
preserveRB | boolean | Read | Returns whether radio-button group relationships are preserved. |
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 |
|---|---|
SetOCGStateAction(dict: PdfDictionary) | Parses a SetOCGStateAction from an existing dictionary. |
getState() → PdfArray | Returns the state change array. |
setState(state: PdfArray) | Sets the state change array. |
isPreserveRB() → boolean | Returns whether radio-button group relationships are preserved. |
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