%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
CmdScale Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : CmdScale Method
entities
An array of vdraw entities or null so the user can pick the objects on screen.
referencePoint
A reference point object in World coordinates or null so the user can pick this point on screen. This point will be used as scale base point.
scale
The scale to be used for the command or null in order for the user to select it on screen.
Scales an array of vdraw entities.

Syntax

JScript 
public function CmdScale( 
   entities : Object,
   referencePoint : Object,
   scale : double
);

Parameters

entities
An array of vdraw entities or null so the user can pick the objects on screen.
referencePoint
A reference point object in World coordinates or null so the user can pick this point on screen. This point will be used as scale base point.
scale
The scale to be used for the command or null in order for the user to select it on screen.

Remarks

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

See Also