Share

AcDbMText::setWidth

C++

Acad::ErrorStatus setWidth(
    double
);

Description

Sets width to be the maximum width allowed for any line of text. This value is used during word wrap calculations as a maximum. It is possible that none of the lines resulting from word wrap formatting will reach this width value, but no lines will ever go past it.

If width is 0.0, word wrap is disabled.

Returns Acad::eOk if successful or Acad::eInvalidInput if the data passed in is not acceptable.

Parameters

Parameters Description
unnamed Input new text block width constraint

Links

AcDbMText Class

Was this information helpful?