Selection 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 Drawing.Selection that represents the current selected shapes inside the canvas.
Syntax
public Selection Selection { get; }Public ReadOnly Property Selection As SelectionExamples
The following example includes the selection value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Selection: {tXDrawingCore.Selection}");
Console.WriteLine("TXDrawing Core is ready for use.");Console.WriteLine($"Selection: {tXDrawingCore.Selection}")
Console.WriteLine("TXDrawing Core is ready for use.")Limitations
Read only.