PDF action object.
More...
◆ getSubAction()
Action::getSubAction |
( |
|
index | ) |
|
|
inline |
Get a sub-action by index.
- Parameters
-
index | number - Index of sub-action to be retrieved. Valid range: from 0 to (count-1). |
- Returns
- Action - An action object that represents the specified sub-action.
◆ getSubActionCount()
Action::getSubActionCount |
( |
| ) |
|
|
inline |
Get the count of sub-actions.
- Returns
- number - Count of sub-actions.
◆ getType()
Get action type.
- Returns
- string - Action type.
◆ insertSubAction()
Action::insertSubAction |
( |
|
index, |
|
|
|
action |
|
) |
| |
|
inline |
Insert a new sub-action to the location specified by index.
- Parameters
-
index | number - Index of the location, where the new sub-action is inserted. |
action | Action - New action to be set. It should be valid. |
- Returns
- Promise<object> - An action object.
◆ removeAllSubActions()
Action::removeAllSubActions |
( |
| ) |
|
|
inline |
Remove all the sub-actions.
- Returns
- Promise<void> -
◆ removeSubAction()
Action::removeSubAction |
( |
|
index | ) |
|
|
inline |
Remove a sub-action, specified by index.
- Parameters
-
index | number - Index of sub-action to be retrieved. Valid range: from 0 to (count-1). |
- Returns
- Promise<void> -
◆ setSubAction()
Action::setSubAction |
( |
|
index, |
|
|
|
action |
|
) |
| |
|
inline |
Set a sub-action by index.
- Parameters
-
index | number - Index of sub-action to be retrieved. Valid range: from 0 to (count-1). |
action | Action - New action to be set. It should be valid. |
- Returns
- Promise<object> - An action object.