RenditionAction

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

ConstructorDescription
RenditionActionCreates the rendition action.

Methods

MethodDescription
getJavaScriptGets or sets JavaScript code associated with the action.
getRenditionGets or sets rendition associated with the action.
getRenditionOperationThe operation to perform when the action is triggered.
setJavaScriptGets or sets JavaScript code associated with the action.
setRenditionOperationThe 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:

ParameterTypeDescription
valueRenditionOperation element