ActionCollectionAdd Method
Adds an Action to the end of the ActionCollection.

Namespace:  TallComponents.PDF.Actions
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 4.0.98.0
Syntax
public void Add(
	Action action
)

Parameters

action
Type: TallComponents.PDF.ActionsAction
The Action to be addded to the end of the ActionCollection.

Return Value

Type: 
The ActionCollection index at which the Action has been added.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe given action is .
ArgumentExceptionThe given action is already in this ActionCollection. (Duplicate action)
Remarks

ActionCollection does not accept a as a valid value.

ActionCollection does not accept duplicate elements.

Examples
C#
ActionCollection actions = new ActionCollection();
actions.<b>Add</b>( new GoToAction( page ) );
VB.NET
Dim actions as ActionCollection = new ActionCollection()
actions.<b>Add</b>( new GoToAction( page ) )
See Also