Shapes Property
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WinForms. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets an object of type ShapeCollection that represents those shapes which are displayed inside the canvas.
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 tXDrawingCore.Shapes)
{
Console.WriteLine(shape.Angle);
}For Each shape As TXTextControl.Drawing.Shape In tXDrawingCore.Shapes
Console.WriteLine(shape.Angle)
NextLimitations
Read only.