RenditionAction
Overview
RenditionAction is a class in Aspose.Pdf FOSS for Java.
Inherits from: PdfAction.
Rendition action — controls multimedia renditions (ISO 32000-1:2008, §12.6.4.13).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
operation | int | Read | Returns the operation code (0–4). |
rendition | COSDictionary | Read | Returns the rendition dictionary (/R). |
annotation | COSDictionary | Read | Returns the screen annotation associated with this action (/AN). |
OP_PLAY_STOP | int | Read | Play if not playing, stop if playing. |
OP_STOP | int | Read | Stop. |
OP_PAUSE | int | Read | Pause. |
OP_RESUME | int | Read | Resume. |
OP_PLAY | int | Read | Play. |
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 |
|---|---|
RenditionAction(dict: COSDictionary) | Parses a RenditionAction from an existing dictionary. |
getOperation() → int | Returns the operation code (0–4). |
getRendition() → COSDictionary | Returns the rendition dictionary (/R). |
getAnnotation() → COSDictionary | Returns the screen annotation associated with this action (/AN). |
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. |