%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
onStateChangedDelegate Delegate
See Also  Example
vdWebLibrary Namespace : onStateChangedDelegate Delegate
action
The action (BaseActionObj) that its state is changed.
status
Current status of the action. Possible statuses are "start", "count", "end".
Represents a method that will handle the change of state during an action.

Syntax

JScript 
public delegate onStateChangedDelegate( 
   action : BaseActionObj,
   status : String
)

Parameters

action
The action (BaseActionObj) that its state is changed.
status
Current status of the action. Possible statuses are "start", "count", "end".

Example

C#Copy Code
function _onStateChanged(action, status) { 
    //Code to do 

 
function fn(){ 
    vdcanvas.GetUserLine(_onStateChanged); 
}

See Also