Gets or sets the shape’s position in the z-order.
NuGet Package: DevExpress.RichEdit.Core
An integer that specifies the shape’s position in the z-order.
When you insert a new shape in code, its ZOrder value is equal to 0. Change the ZOrder value to move the shape in front of or behind other shapes in the collection.
document.LoadDocument("FirstLook.docx", DevExpress.XtraRichEdit.DocumentFormat.OpenXml); Shape myPicture = document.Shapes; myPicture.VerticalAlignment = ShapeVerticalAlignment.Top; myPicture.ZOrder = document.Shapes.ZOrder - 1; myPicture.TextWrapping = TextWrappingType.BehindText;
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ZOrder property.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.