Shapes Property
- Namespace
TXTextControl.WPF. Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets an object of type ShapeCollection that represents those shapes which are displayed inside the TX Drawing Control.
Syntax
public ShapeCollection Shapes { get; }Public ReadOnly Property Shapes As ShapeCollectionExamples
The following example iterates through the shapes collection and processes each shape.
foreach (TXTextControl.Drawing.Shape shape in tXDrawingControl.Shapes)
{
Console.WriteLine(shape.Angle);
}For Each shape As TXTextControl.Drawing.Shape In tXDrawingControl.Shapes
Console.WriteLine(shape.Angle)
NextLimitations
Read only.