Click or drag to resize

PdfJavaScriptActionListCollectionAdd Method (String, PdfJavaScriptAction)

Adds the specified action to the collection, creating a new PdfJavaScriptActionList if needed.

Namespace:  Atalasoft.PdfDoc.Actions
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: (.NET 4.5.2, x86)
public void Add(
	string name,
	PdfJavaScriptAction action


Type: SystemString
The name of the action.
Type: Atalasoft.PdfDocPdfJavaScriptAction
The action to add.
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