|
| | RenditionAction (Action action) |
| | Constructor, with parent class object. More...
|
| |
| string | GetJavaScript () |
| | Get the JavaScript script to be executed. More...
|
| |
| RenditionAction.OperationType | GetOperationType () |
| | Get the operation type of current rendition action when being triggered. More...
|
| |
| Rendition | GetRendition (int index) |
| | Get a rendition by index. More...
|
| |
| int | GetRenditionCount () |
| | Get the count of rendition objects. More...
|
| |
| Screen | GetScreenAnnot () |
| | Get the related screen annotation. More...
|
| |
| void | InsertRendition (Rendition rendition, int index) |
| | Insert a rendition to current rendition action, at the position specified by index. More...
|
| |
| void | RemoveRendition (Rendition rendition) |
| | Remove a rendition object from current rendition action. More...
|
| |
| void | SetJavaScript (string script) |
| | Set the JavaScript script to be executed. More...
|
| |
| void | SetOperationType (RenditionAction.OperationType op_type) |
| | Set the operation type of current rendition action when being triggered. More...
|
| |
| void | SetScreenAnnot (Screen screen_annot) |
| | Set related screen annotation. More...
|
| |
| | Action (PDFDoc document, PDFDictionary action_dict) |
| | Constructor, with parameters. More...
|
| |
| | Action (Action action) |
| | Constructor, with another action object. More...
|
| |
| PDFDictionary | GetDict () |
| | Get PDF dictionary of current object. More...
|
| |
| PDFDoc | GetDocument () |
| | Get the PDF document, to which current action belongs. More...
|
| |
| Action | GetSubAction (int index) |
| | Get a sub-action by index. More...
|
| |
| int | GetSubActionCount () |
| | Get the count of sub-actions. More...
|
| |
| Action.Type | GetType () |
| | Get action type. More...
|
| |
| void | InsertSubAction (int index, Action sub_action) |
| | Insert a new sub-action to the location specified by index. More...
|
| |
| bool | IsEmpty () |
| | Check whether current object is empty or not. More...
|
| |
| void | RemoveAllSubActions () |
| | Remove all the sub-actions. More...
|
| |
| void | RemoveSubAction (int index) |
| | Remove a sub-action, specified by index. More...
|
| |
| void | SetSubAction (int index, Action sub_action) |
| | Set a sub-action by index. More...
|
| |
Rendition action is to control the playing of multimedia content. (For more details, please refer to <PDF Reference 1.7> P668 "Rendition Actions") Class foxit.pdf.actions.RenditionAction is derived from Action and offers functions to get/set rendition action data.
- See also
- Action
| string foxit.pdf.actions.RenditionAction.GetJavaScript |
( |
| ) |
|
|
inline |
Get the JavaScript script to be executed.
As a useful rendition action, it should contain a JavaScript script to be executed or is specified an operation type to be performed when triggered. If both JavaScript script and operation type exist, application should execute JavaScript; if application is unable to execute JavaScript script, then perform as operation type defines. If no JavaScript script and operation type is invalid, that means the action is invalid.
- Returns
- A JavaScript script.
| void foxit.pdf.actions.RenditionAction.SetJavaScript |
( |
string |
script | ) |
|
|
inline |
Set the JavaScript script to be executed.
As a useful rendition action, it should contain a JavaScript script to be executed or is specified an operation type to be performed when triggered. If both JavaScript script and operation type exist, application should execute JavaScript; if application is unable to execute JavaScript script, then perform as operation type defines. If no JavaScript script and operation type is invalid, that means the action is invalid.
- Parameters
-
| [in] | script | A JavaScript script to be set. |
- Returns
- None.