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: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void Add(
	string name,
	PdfJavaScriptAction action
)

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