%%PageItemTitle%% $$Methods$$

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
BaseActionObj Class Methods
See Also 
vdWebLibrary Namespace : BaseActionObj Class

For a list of all members of this type, see BaseActionObj members.

Public Methods

 NameDescription
Public Methodcancel Cancel user active action  
Public MethodIsCanceled If true, the Action has been canceled by the user.  
Public MethodIsPaused Get the pause status of the action  
Public MethodIsStarted If true, the Action has been initiated.  
Public MethodparseParses the passed command string

For example user can pass a text input from a textbox in the following form

1. x,y,z coordinate values

separate values by ',' symbol

vdcanvas.ActiveAction().parse('5.5,2.1,0.5');

2. distance < angle polar values

distance is a double value in drawing units

angle is a double value in degrees

separate values by '<' symbol

vdcanvas.ActiveAction().parse('7.8 < 45.0');

3. Xoffset,Yoffset relative values

vdcanvas.ActiveAction().parse('@2.5,3.7');

NOTE: A prefix '@' is needed  

Public MethodPause Pause the active user action.  
Public MethodResume Resume the active user action previous paused by Pause.  
Public MethodvdrawOwner The action's vdrawObj owner.  
Top

See Also