Skip to main content

IdxRichEditTextBox.SetHeightRule(TdxRichEditTextBoxSizeRule) Method

Enables or disables the automatic height adjustment mode for the floating shape that hosts the text box.

Declaration

procedure SetHeightRule(const Value: TdxRichEditTextBoxSizeRule);

Parameters

Name Type
Value TdxRichEditTextBoxSizeRule

Remarks

Call this procedure to activate a floating text box’s sizing mode passed as the Value parameter. Calling the SetHeightRule procedure has no effect if the passed value matches the currently active sizing mode.

Refer to the TdxRichEditTextBoxSizeRule type description for detailed information on available floating text box sizing modes.

The SetHeightRule procedure is the HeightRule property’s setter.

See Also