Shapes Property
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. Core. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDrawing.dll
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.