%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
tooltip Method
See Also  Example
vdWebLibrary Namespace > ScriptCommands Class : tooltip Method
textvalue
A string value that used to set the tooltip for new created figures.
Set the passed textvalue as active tooltip for the new added entities

Syntax

JScript 
public function tooltip( 
   textvalue : String
);

Parameters

textvalue
A string value that used to set the tooltip for new created figures.

Example

C#Copy Code
vdrawobj.scriptCommand.tooltip("VectorDraw\\nWebControl Test"); 
vdrawobj.scriptCommand.line();//all the user lines will be added using the last defined tooltip.

Remarks

In order to separate new lines in tooltip add the '\\n'

See Also