RenditionAction
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.PdfAction com.aspose.pdf.RenditionAction, com.aspose.pdf.PdfAction, com.aspose.pdf.RenditionAction
All Implemented Interfaces: IAppointment
public final class RenditionAction extends PdfAction
A rendition action that controls the playing of multimedia content.
Constructors
| Constructor | Description |
|---|---|
| RenditionAction | Creates the rendition action. |
Methods
| Method | Description |
|---|---|
| getJavaScript | Gets or sets JavaScript code associated with the action. |
| getRendition | Gets or sets rendition associated with the action. |
| getRenditionOperation | The operation to perform when the action is triggered. |
| setJavaScript | Gets or sets JavaScript code associated with the action. |
| setRenditionOperation | The operation to perform when the action is triggered. |
RenditionAction
Creates the rendition action.
getJavaScript
public final String getJavaScript()
Gets or sets JavaScript code associated with the action.
Returns: String value
getRendition
public final Rendition getRendition()
Gets or sets rendition associated with the action.
Returns: Rendition instance
getRenditionOperation
public final int getRenditionOperation()
The operation to perform when the action is triggered.
Returns: RenditionOperation element
setJavaScript
Gets or sets JavaScript code associated with the action.
setRenditionOperation
public final void setRenditionOperation(int value)
The operation to perform when the action is triggered.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | RenditionOperation element |