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

IdxRichEditShape.MarginLeft Property

Specifies the left margin (in the parent document’s measurement units) between the floating shape’s bounding rectangle and the parent document’s text.

#Declaration

Delphi
property MarginLeft: Single read; write;

#Property Value

Type
Single

#Remarks

Use this property to expand or shrink the gap between the floating shape’s left border and the text that wraps around the shape in its parent document:

The floating shape overlaps the text if the MarginLeft property is set to a negative value. If the sum of the MarginLeft and Size.cx property values is equal to or less than zero, the shape overlaps the parent document’s text completely.

Note

The MarginLeft and MarginRight property values are in effect only if the TextWrapping property is set to TdxRichEditTextWrappingType.Square, TdxRichEditTextWrappingType.Tight, or TdxRichEditTextWrappingType.Through.

The default MarginLeft property value is 0.

See Also