TX Text Control .NET for WPF

Shapes Property

Property|Introduced in 33.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.WPF.SDK as TXDrawing.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 canvas.

Syntax

public ShapeCollection Shapes { get; }

Examples

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

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

Limitations

Read only.