TdxRichEditTextBoxSizeRule Enum
Enumerates floating text box height calculation modes.
Declaration
TdxRichEditTextBoxSizeRule = (
Auto,
Exact
);
Members
Name |
---|
Auto
|
Exact
|
Remarks
Options include:
Value | Description | Example (Shape.Size = 150 by 85 Points) |
---|---|---|
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
TdxRichEditTextBoxSizeRule
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 TdxRichEditTextBoxSizeRule.Auto
(in Delphi) or TdxRichEditTextBoxSizeRule::Auto
(in C++Builder) to refer to the Auto
value in code.
See Also