PdfJavaScriptActionListCollectionAdd Method (String, PdfJavaScriptAction) |
Namespace:
Atalasoft.PdfDoc.Actions
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Add(
string name,
PdfJavaScriptAction action
)
Public Sub Add (
name As String,
action As PdfJavaScriptAction
)
Parameters
- name
- Type: SystemString
The name of the action. - action
- Type: Atalasoft.PdfDocPdfJavaScriptAction
The action to add.
Remarks
This is a convenience method for adding a single action instead of a list of actions. If
name already
exists in the collection,
action will be added to it. If not, a new
PdfJavaScriptActionList
will be created, the action added to that list, then the list will be added to the collection under
name.
See Also