%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
CmdMove Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : CmdMove Method
entities
An array of vdraw entities or null so the user can pick the objects on screen.
from
The base point in World coordinates or null so the user can pick this point to the screen.
to
Another point representing where the objects will be placed in World coordinates or null so the user picks this point on screen.
Moves an array of vdraw entities from one point to another.

Syntax

JScript 
public function CmdMove( 
   entities : Object,
   from : Object,
   to : Object
);

Parameters

entities
An array of vdraw entities or null so the user can pick the objects on screen.
from
The base point in World coordinates or null so the user can pick this point to the screen.
to
Another point representing where the objects will be placed in World coordinates or null so the user picks this point on screen.

Remarks

This command does not write to UndoHistory and Script buffer. In order to do that use the scriptCommand.move

See Also