Method ActionAdd
- Namespace
- VectorDraw.Professional.vdObjects
- Assembly
- VectorDraw.Professional.dll
ActionAdd(BaseAction)
Adds the specified VectorDraw.Actions.BaseAction to the current active layout (model or layout).
public void ActionAdd(BaseAction action)
Parameters
actionBaseActionThe VectorDraw.Actions.BaseAction instance to add to the action list of the active layout.
Remarks
This method forwards the call to ActionAdd(BaseAction) on the document's ActiveLayOut.
Exceptions
- ArgumentNullException
Thrown when
actionisnull.- InvalidOperationException
Thrown when there is no active layout to receive the action.
- See Also
-
ActionAdd(BaseAction)