%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
SetActivePenColor Method
See Also  Example
vdWebLibrary Namespace > vdrawObj Class : SetActivePenColor Method
color
The color value to be set as active.
Sets the given PenColor as the document's active color.

Syntax

JScript 
public function SetActivePenColor( 
   color : Object
);

Parameters

color
The color value to be set as active.

Example

C#Copy Code
vdmanager.vdrawObject('canvas').SetActivePenColor({SystemColor:[255,0,0,100]});      

See Also