%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
GetAttribValue Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : GetAttribValue Method
tag
The tag of the attribute from which to get the value.
blockSymbol
The block reference object (with type vdConst.vdInsert_code) in which the attributes will be searched for.
Returns the value of the first attribute matching the tag parameter. The check is no case sensitive.

Syntax

JScript 
public function GetAttribValue( 
   tag : String,
   blockSymbol : Object
) : String;

Parameters

tag
The tag of the attribute from which to get the value.
blockSymbol
The block reference object (with type vdConst.vdInsert_code) in which the attributes will be searched for.

Return Value

The value string set by the tag parameter or null if the passed blocksymbol is not a vdInsert or does not contains attribute with passed tag string.

See Also