Skip to main content

IdxRichEditShape.MarginRight Property

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

Declaration

property MarginRight: Single read; write;

Property Value

Type
Single

Remarks

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

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

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 MarginRight property value is 0.

See Also