|
Foxit PDF SDK
|
Public Member Functions | |
| def | GetName () |
| Get the name of the action. More... | |
| def | SetName (name) |
| Set the name of the action. More... | |
Named action is an action that executes an action predefined by the viewer application.
Class fsdk.NamedAction is derived from Action and offers functions to get/set named action data.
| def fsdk.NamedAction.GetName | ( | ) |
Get the name of the action.
In PDF reference 1.7, following names are defined and PDF viewer applications are expected to support them:
"NextPage", "PrevPage", "FirstPage", "LastPage".
Some more standard names may be added in later version. Application can also use additional, non-standard names.
| def fsdk.NamedAction.SetName | ( | name | ) |
Set the name of the action.
In PDF reference 1.7, following names are defined and PDF viewer applications are expected to support them:
"NextPage", "PrevPage", "FirstPage", "LastPage".
Some more standard names may be added in later version. Application can also use additional, non-standard names.
| [in] | name | A string that represents the new name. It should not be an empty string. |