Skip to main content

TdxRichEditAutoSizeMode Enum

Enumerates automatic resize modes available for the Simple document view.

Declaration

TdxRichEditAutoSizeMode = (
    None,
    Horizontal,
    Vertical,
    Both
);

Members

Name
None
Horizontal
Vertical
Both

Remarks

Options include:

Value Description
None The Rich Edit control never adjusts its dimensions automatically. Use the control’s Width and Height properties to resize it.
Horizontal The control’s Width property value changes according to the content width. You can use the Height property to adjust the control’s height.
Vertical The control’s Height property value changes according to the content height. You can use the Width property to adjust the control’s width.
Both The control’s Width and Height property values automatically update according to the content dimensions.

The Rich Edit control’s AutoSizeMode property references the TdxRichEditAutoSizeMode type.

Note

TdxRichEditAutoSizeMode is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxRichEditAutoSizeMode.None (in Delphi) or TdxRichEditAutoSizeMode::None (in C++Builder) to refer to the None value in code.

See Also