







JsPropertiesExtractor | Send comments on this topic. |
beforemovegrip Field | |
See Also Example |
![]() |
vdWebLibrary Namespace > gripmanager Class : beforemovegrip Field |
JScript | |
---|---|
public var beforemovegrip : gripmanager.gripEventDelegate; |
For example we do not allow user to move grip points of polylines.
C# | ![]() |
---|---|
function _beforemovegrip(e) { |
The eventargs of the function is an object with following properties:
sender: is always the vdrawObj entity: the entity of which the grip is move indexes: an array of integers that represents the the grip indexes of the entity that is going to be move offset: an array of dx and dy movement foreach select index in the indexes property cancel:a boolean value that defines if the grip is allowed by the user to be moved. By default is false and the grips movement is allowed. Set it to true in order the grips not to be moved.