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
blockobjectThe block where the vdAttribDef object will be added.
heightintThe height of the text of the attribute in drawing units.
rotationdoubleThe rotation of the text of the attribute in drawing units.
tagstringThe tag of the vdAttribDef object.
valuestringThe value of the vdAttribDef object. This string will be displayed on the blockSymbol.
positionobjectThe position of the attribute in entity coordinates.
Returns
- object
The created attribute object.