TdxRichEditTextBoxSizeRule Enum
In This Article
Enumerates floating text box height calculation modes.
#Declaration
Delphi
TdxRichEditTextBoxSizeRule = (
Auto,
Exact
);
#Members
Name |
---|
Auto
|
Exact
|
#Remarks
Options include:
Value | Description | Example (Shape. |
---|---|---|
Auto | The floating shape automatically increases its height to fit the text box’s content. The calculated height depends on the shape’s width, the text box’s margins, and the content size. | ![]() |
Exact | The floating shape’s Size property determines its dimensions. The text box truncates text if it does not fit into the content area. | ![]() |
The IdxRichEditTextBox interface’s HeightRule property references the TdxRichEditTextBoxSizeRule type.
Note
Tdx
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 Tdx
(in Delphi) or Tdx
(in C++Builder) to refer to the Auto
value in code.
See Also