IdxRichEditShape.ZOrder Property
Specifies the floating shape’s custom Z-order.
Declaration
property ZOrder: Integer read; write;
Property Value
Type |
---|
Integer |
Remarks
You can place floating pictures or text boxes in each of the three document layers, from bottom to top:
Behind the parent document’s “text” layer (the TextWrapping property is set to the TdxRichEditTextWrappingType.BehindText);
Within the “text” layer (the TextWrapping property is set to TdxRichEditTextWrappingType.Square, TdxRichEditTextWrappingType.Tight, TdxRichEditTextWrappingType.Through, or TdxRichEditTextWrappingType.TopAndBottom);
On top of text (the TextWrapping property is set to the TdxRichEditTextWrappingType.InFrontOfText).
The floating shape’s default Z-order in an individual document layer depends on the shape’s index in the parent document’s collection (that is, the last shape created within the same layer is always on top). You can use the ZOrder property to rearrange the shapes paint order.
The default ZOrder property value is 0.