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).
This class provides 8 methods for working with RenditionAction objects in Java programs.
Available methods include: RenditionAction, fromDictionary, getAnnotation, getNext, getOperation, getPdfDictionary, getRendition, getType.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: OP_PAUSE, OP_PLAY, OP_PLAY_STOP, OP_RESUME, OP_STOP, annotation, and 5 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
operation | int | Read | Returns the operation code (0–4). |
rendition | PdfDictionary | Read | Returns the rendition dictionary (/R). |
annotation | PdfDictionary | 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. |
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. |
Methods
| Signature | Description |
|---|---|
RenditionAction(dict: PdfDictionary) | Parses a RenditionAction from an existing dictionary. |
getOperation() → int | Returns the operation code (0–4). |
getRendition() → PdfDictionary | Returns the rendition dictionary (/R). |
getAnnotation() → PdfDictionary | Returns the screen annotation associated with this action (/AN). |
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. |