TX Text Control .NET Server

ZOrder Enumeration

Enumeration|Introduced in 18.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.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 ZOrder

Members

MemberValueDescription
Bottom-2147483647If 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-2147483648The frame is moved behind the text below all other objects. This member is only possible, if the insertion mode is BehindTheText.
Down-2147483646The frame is moved down one plane. If it is the bottommost object in front of the text, it is not moved behind the text.
TopMost2147483647The frame is moved in front of the text at the top of all other objects.
Top2147483646If 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.
Up2147483645The 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}");

See Also

FrameBase.ChangeZOrder Method.