Table of Contents

Method AddAttribDef

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

AddAttribDef(object, int, double, string, string, object)

Add a new vdAttribDef to block definition with passed tag ,set the other passed properties to it and returns the new created vdAttribDef

public object AddAttribDef(object block, int height, double rotation, string tag, string value, object position)

Parameters

block object

The block where the vdAttribDef object will be added.

height int

The height of the text of the attribute in drawing units.

rotation double

The rotation of the text of the attribute in drawing units.

tag string

The tag of the vdAttribDef object.

value string

The value of the vdAttribDef object. This string will be displayed on the blockSymbol.

position object

The position of the attribute in entity coordinates.

Returns

object

The created attribute object.