%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
thickness Method
See Also  Example
vdWebLibrary Namespace > ScriptCommands Class : thickness Method
nvalue
A double value in Drawing units.
Set the passed thickness value as active. Commands that create new objects like line select this thickness for the created entities and will be drawn extruded to their extrusion vector.

Syntax

JScript 
public function thickness( 
   nvalue : double
);

Parameters

nvalue
A double value in Drawing units.

Example

C#Copy Code
vdrawobj.scriptCommand.thickness(2.5); 
vdrawobj.scriptCommand.line();//all the user lines will be added using the a thickness of 2.5 drawing units and will be drawn extruded to their extrusion vector.

See Also