Table of Contents

Constructor DxfAttributeReference

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DxfAttributeReference()

Initializes an attribute with no tag or value at the origin, 2.5 high, as AutoCAD's new AttributeReference(), in no file; give it its tag, or fill it from its definition, before it is added to an INSERT.

public DxfAttributeReference()

DxfAttributeReference(GeoPoint3, string, string, DxfTextStyleTableRecord)

Initializes an attribute, as AutoCAD's new AttributeReference(position, value, tag, style): at a point, with its value and tag, 2.5 high, in a text style, in no file until it is added to an INSERT.

public DxfAttributeReference(GeoPoint3 position, string value, string tag, DxfTextStyleTableRecord style)

Parameters

position GeoPoint3

Where it stands, in world coordinates.

value string

Its value, one line.

tag string

Its tag, a word with no space in it.

style DxfTextStyleTableRecord

Its text style, of the file it is to be added to; null for Standard.

Exceptions

ArgumentNullException

Thrown when the value or tag is null.

ArgumentException

Thrown when a coordinate is not a finite number, the value has a line break in it, or the tag is empty or has a space in it.