TX Text Control .NET for Windows Forms

Shapes Property

Property|Introduced in 23.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.WinForms.SDK as TXDrawing.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets an object of type ShapeCollection that represents those shapes which are displayed inside the TX Drawing Control.

Syntax

public ShapeCollection Shapes { get; }

Examples

The following example iterates through the shapes collection and processes each shape.

foreach (TXTextControl.Drawing.Shape shape in tXDrawingControl.Shapes)
{
    Console.WriteLine(shape.Angle);
}

Limitations

Read only.