Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxRichEditTextBox Methods

Exposes a text box within a floating shape.
Name Description
GetDocument Returns the subdocument that hosts all the text box content.
GetHeightRule Returns the value indicating how the height of the text box’s floating shape is determined.
GetMarginBottom Returns the margin (in the parent document’s measurement units) between the content of the text box and its floating shape‘s bottom border.
GetMarginLeft Returns the margin (in the parent document’s measurement units) between the content of the text box and its floating shape‘s left border.
GetMarginRight Returns the margin (in the parent document’s measurement units) between the content of the text box and its floating shape‘s right border.
GetMarginTop Returns the margin (in the parent document’s measurement units) between the content of the text box and its floating shape‘s top border.
SetHeightRule(TdxRichEditTextBoxSizeRule) Enables or disables the automatic height adjustment mode for the floating shape that hosts the text box.
SetMarginBottom(Single) Sets the specified value (in the parent document’s measurement units) as a distance between the content of the text box and its floating shape‘s bottom border.
SetMarginLeft(Single) Sets the specified value (in the parent document’s measurement units) as a distance between the content of the text box and its floating shape‘s left border.
SetMarginRight(Single) Sets the specified value (in the parent document’s measurement units) as a distance between the content of the text box and its floating shape‘s right border.
SetMarginTop(Single) Sets the specified value (in the parent document’s measurement units) as a distance between the content of the text box and its floating shape‘s top border.
See Also