Method FieldToMText
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
FieldToMText(DxfMText)
Gives an MTEXT the field of the dimension's text, as AutoCAD's FieldToMText: a copy of the dimension's field of
its words and its children, every group of them kept, given to the MTEXT's words in the place of the field it had;
where the dimension has none, the MTEXT's is taken out. The MTEXT's Contents are not changed.
public void FieldToMText(DxfMText dimMText)
Parameters
dimMTextDxfMTextThe MTEXT, of the dimension's drawing.
Exceptions
- ArgumentNullException
Thrown when the MTEXT is null.
- ArgumentException
Thrown when the MTEXT is not of the dimension's drawing, or is erased.
- InvalidOperationException
Thrown when the dimension is in no file, or is erased.