Share

AcDbMText::width

C++

double width() const;

Description

Returns the maximum width setting used by the MText object for word wrap formatting. It is possible that none of the lines resulting from word wrap formatting will reach this width value. Words which exceed this width value will not be broken, but will extend beyond the given width. The AcDbMText::actualWidth() member function returns the actual width of the text, regardless of the maximum width setting.

If the return value is 0.0, then word wrap is currently disabled.

Links

AcDbMText Class

Was this information helpful?