Skip to main content

TdxRichEditBaseValueSource Enum

Enumerates available sources of the font settings applied to the text range that has no explicitly specified formatting.

Declaration

TdxRichEditBaseValueSource = (
    Auto,
    Document,
    Control
);

Members

Name
Auto
Document
Control

Remarks

Options include:

Value Description
Auto The control uses the opened document’s font settings as default.
Document This value is identical to Auto.
Control The control uses the Font property settings as the font setting by default.

The Rich Edit control’s Options.Behavior.FontSource and Options.Behavior.ForeColorSource properties reference the TdxRichEditBaseValueSource type.

Note

TdxRichEditBaseValueSource 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 TdxRichEditBaseValueSource.Auto (in Delphi) or TdxRichEditBaseValueSource::Auto (in C++Builder) to refer to the Auto value in code.

See Also