Table of Contents

Method GetMTextWithFieldCodes

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetMTextWithFieldCodes()

Gets the words of the MTEXT with the codes of its fields in their places, as AutoCAD's getMTextWithFieldCodes: the code of its field (GetField()), its formatting codes with it, each field it holds standing as its code in its markers, at every depth. The MTEXT {\H1.5x;Length} 2400 mm, the length a field, gives {\H1.5x;Length} %<\AcObjProp Object(%<_ObjIdx 0>%).Length \f "%lu2">% mm, the object named by its index among the field's objects (331) as the file holds it; one with no field gives its Contents.

public string GetMTextWithFieldCodes()

Returns

string

The words with their formatting and the codes of their fields.