Method GetField
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetField()
Gets the field of the object's words, as AutoCAD's GetField(): that of the property TEXT, which a TEXT, an
MTEXT, an attribute and a dimension keep their words' field under, as GetField(string) gives it.
public DxfField GetField()
Returns
- DxfField
The field; null where the object has none.
GetField(string)
Gets the field of a property of the object, as AutoCAD's GetField(propertyName): the FIELD its extension
dictionary's dictionary ACAD_FIELD names by the property's name, as AutoCAD keeps it.
public DxfField GetField(string propertyName)
Parameters
propertyNamestringThe name of the property, letters of either case the same: TEXT for the words of a text.
Returns
- DxfField
The field; null where the object has no extension dictionary, no ACAD_FIELD in it, or no FIELD of the name there.
Exceptions
- ArgumentNullException
Thrown when the name is null.