ZOrder Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.dll
Description
Specifies how the z-order of a frame (image, text frame, chart, barcode or drawing) can be changed. The enumeration contains the following values:
Syntax
public enum ZOrderPublic Enum ZOrderMembers
| Member | Value | Description |
|---|---|---|
| Bottom | -2147483647 | If the frame is in front of the text, it becomes the bottommost of all objects in front of the text. If it is behind the text, it is becomes the bottommost of all objects. |
| BottomMost | -2147483648 | The frame is moved behind the text below all other objects. This member is only possible, if the insertion mode is BehindTheText. |
| Down | -2147483646 | The frame is moved down one plane. If it is the bottommost object in front of the text, it is not moved behind the text. |
| TopMost | 2147483647 | The frame is moved in front of the text at the top of all other objects. |
| Top | 2147483646 | If the frame is behind the text, it becomes the topmost of all objects behind the text. If it is in front of the text, it becomes the topmost of all objects. |
| Up | 2147483645 | The frame is moved up one plane. If it is the topmost object behind the text, it is not moved in front of the text. |
Examples
The following example selects the Up value from the ZOrder enumeration and uses it as a documented workflow choice.
ZOrder value = ZOrder.Up;
Console.WriteLine($"Using ZOrder: {value}");Dim value As ZOrder = ZOrder.Up
Console.WriteLine($"Using ZOrder: {value}")See Also
FrameBase.ChangeZOrder Method.