ImageEn, unit iexRichEdit

TIERichEdit.TextWidth

TIERichEdit.TextWidth


Declaration

function TextWidth(MaximizeWidth: Boolean = False): Integer;


Description

Returns the width (in pixels) of the widest line in the control.
If MaximizeWidth is true the result may be wider than the control. Otherwise result is constrained to the size of the control.