%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
DefaultActions Property
See Also  Example
vdWebLibrary Namespace > BaseActionObj Class : DefaultActions Property
Defines if the basic actions (panning with left mouse, zoomming with mouse wheel, zoomExtents with double click) will be used during the Action. Any of them can be disabled or enabled.

Syntax

JScript 
public function get,set DefaultActions : int

Example

C#Copy Code
vdmanager.vdrawObject('canvas').ActiveAction().DefaultActions = vdConst.DEFAULT_ZOOMSCALE + vdConst.DEFAULT_SCROLL + vdConst.DEFAULT_ZOOMEXTENTS + vdConst.DEFAULT_ROTATE3D;      

Remarks

Default value is DEFAULT_MOUSE_ACTION_ALL

See Also