%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
Pause Method
See Also  Example
vdWebLibrary Namespace > BaseActionObj Class : Pause Method
mouseaction
Optional.Defines the default mouse actions to be active (panning, zoomming in-out , rotate 3d). One of the DefaultActions values.If it is not passed then the DefaultActions is used.
Pause the active user action.

Syntax

JScript 
public function Pause( 
   mouseaction : int
);

Parameters

mouseaction
Optional.Defines the default mouse actions to be active (panning, zoomming in-out , rotate 3d). One of the DefaultActions values.If it is not passed then the DefaultActions is used.

Example

Pause the active action and enable the user to pan by holding down and move the mouse pointer.
C#Copy Code
vdcanvas.ActiveAction().Pause(vdConst.DEFAULT_SCROLL);

Remarks

When pause the active user action, the action is made hidden and temporarily be deactivated in order to allow default mouse actions to zoom in/out and pan the drawing scene. To resume the action call Resume.The DefaultActions is also restore. To get the action pause status call IsPaused

See Also