Foxit PDF SDK
fsdk.NamedAction Class Reference

Public Member Functions

def GetName ()
 Get the name of the action.
More...
 
def SetName (name)
 Set the name of the action.
More...
 

Detailed Description

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.

See also
Action

Member Function Documentation

◆ GetName()

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.

Returns
Name of the action.

◆ SetName()

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.

Parameters
[in]nameA string that represents the new name. It should not be an empty string.
Returns
None.