new ActionParameter()
ActionParameter is a class used to describe all the information needed to
execute an action. In most cases only the action itself is necessary since
the document can be inferred from associated SDF::Obj, however some actions
particularly JavaScript actions on Field or Annot objects need access to
the associated Field or Annot object.
Extends
Methods
-
<static> create(action)
-
Constructor
Parameters:
Name Type Description action
Core.PDFNet.Action Returns:
A promise that resolves to an object of type: "PDFNet.ActionParameter"- Type
- Promise.<Core.PDFNet.ActionParameter>
-
destroy()
-
Destructor
- Inherited From:
Returns:
- Type
- Promise.<void>
-
getAction()
-
Returns:
A promise that resolves to an object of type: "PDFNet.Action"- Type
- Promise.<Core.PDFNet.Action>
-
takeOwnership()
-
Take the ownership of this object, so that PDFNet.runWithCleanup won't destroy this object.
- Inherited From:
Returns:
- Type
- void