TX Text Control .NET Server

BringToFront Method

Method|Introduced in 23.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.Core.SDK as TXDrawing.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDrawing.dll

Description

Displays the selected shape as the uppermost shape of all shapes. The method has no effect if the CanBringToFront property returns false.

Syntax

public void BringToFront();

Examples

The following example uses Bring To Front in a focused Selection workflow. The created object is then available to the surrounding document workflow.

selection.BringToFront();
Console.WriteLine("Selection is ready for use.");