TCustomRichView.MaxTextWidth

<< Click to display table of contents >>

TCustomRichView.MaxTextWidth

If set to positive value, it is a maximal width for text wrapping (text wraps when its length in pixels exceeds this value)

property MaxTextWidth: TRVPixelLength;

This property does not affect printing.

This value is measured in “standard” pixels, 1 “standard” pixel = 1/Style.UnitsPerInch of an inch. When drawing or a screen, this value is recalculated according to the screen DPI (dots per inch) value.

In TRichViewEdit, you can change this property as an editing operation, see TRichViewEdit.SetIntPropertyEd.

Default value:

0

See horizontal scrolling for details.

See also properties:

MaxLength.