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
positionGeoPoint3Where it stands, in world coordinates.
valuestringIts value, one line.
tagstringIts tag, a word with no space in it.
styleDxfTextStyleTableRecordIts 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.