TX Text Control .NET Server

Shapes Property

Property|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

Gets or set the selected shapes .

Syntax

public Shape[] Shapes { get; set; }

Examples

The following example uses Selection.Shapes to configure shapes as part of the selection workflow. The configured value is checked before the workflow continues.

selection.Shapes = new TXTextControl.Drawing.Shape[] { new TXTextControl.Drawing.Shape() };
if (selection.Shapes != null)
{
    Console.WriteLine("Selection: Shapes is available.");
}