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
Syntax
public Shape[] Shapes { get; set; }Public Property Shapes As Shape()Examples
The following example uses Selection.Shapes to configure shapes as part of the selection workflow. The configured value is checked before the workflow continues.
selection.Shapes = new TXTextControl.Drawing.Shape[] { new TXTextControl.Drawing.Shape() };
if (selection.Shapes != null)
{
Console.WriteLine("Selection: Shapes is available.");
}selection.Shapes = New TXTextControl.Drawing.Shape() { New TXTextControl.Drawing.Shape() }
If selection.Shapes IsNot Nothing Then
Console.WriteLine("Selection: Shapes is available.")
End If