Share

MText.Width Property

Description

Accesses 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 MText.ActualWidth member function returns the actual width of the text, regardless of the maximum width setting.

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

Visual Basic

Public Property Width() As double

C#

public double Width;

Conditions

Read / Write

Links

MText Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?