Skip to main content

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

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