%%PageItemTitle%% $$Properties$$

VectorDraw Web Library

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

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

Public Properties

 NameDescription
Public PropertyactionCount Gets the count of the actions that have been initiated whithoug being ended in the document.  
Public PropertyactionType Gets the action's type (check ACTION_POINT_WORLD, ACTION_LINE_WORLD, ACTION_RECT_VIEW).  
Public PropertyCurrentPoint Returns the current mouse location in World Coordinate System  
Public PropertycustomData Returns the user custom data for this action  
Public PropertyDefaultActions 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.  
Public PropertyDispProps Gets and sets the action's display properties number. This number defines if the fill color of the created Entities will be using the action's crossfillcolor or fillcolor (check ACTION_DISPLAY_USEFILLCOLOR, ACTION_DISPLAY_USECROSSCOLOR, ACTION_DISPLAY_DEFAULT).  
Public PropertyDrawActionDefault Get/Set if the default rubber reference line will be drawn  
Public PropertyOsnapPoint Returns the current osnap location in current View Coordinate System as an array of 4 values x,y,z,osnaptype osnaptype can be one of the following OsnapMode_END , OsnapMode_MID , OsnapMode_CEN, OsnapMode_INS, OsnapMode_NEA, OsnapMode_NODE, OsnapMode_QUA  
Public PropertyPanMouseButton Specifies which mouse button will perform the pan action. Default is MouseLeftButton  
Public PropertyReferencePoint Returns the reference point of the action in World Coordinate System or null if the actionType is ACTION_POINT_WORLD  
Public Propertyrender Return the render context used to draw when the action is active. It can be passed as extra parameter in DrawEntity exmaple vdcanvas.DrawEntity(entity,vdcanvas.ActiveAction().render);  
Public PropertyResValue Gets the point or points concerning the action that is being executed. In the first case it's a 3 sized array object, in the second case it's a two dimensional array object containing all the points.  
Public PropertyRotateMouseButton Specifies which mouse button will perform the pan action. Default is MouseMiddleButton  
Public PropertyTouchCancelTimeOut Get/Set a delay in miliseconds after which the action will be canceled, and when the user pointer is pressed and is holds for this delay. If it is 0 then the action will not canceled. Default value is negative(-1200) then automatically scan if is touch screen device supported and if so , uses absolute of the value for delay, else it uses value of 0. Usefull for touch pointers. A suggested value for single touch pointers is 1200.  
Public PropertyTouchSupported Returns true if tha action is supported by touch events.  
Public PropertyZoomScaleMouseButton Specifies which mouse button will perform the zoom in - zoom out action. Default is MouseMiddleButton  
Top

See Also