ShapeEventArgs Class
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXDrawing.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXDrawing.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDrawing.dll
- Inherits
- Event
Args - Shape
Event Args
- Event
Description
The ShapeEventArgs class provides data for all events that occur with shapes. These are the TXDrawingControl.ShapeAdjusted, TXDrawingControl.ShapeClicked, TXDrawingControl.ShapeCreated, TXDrawingControl.ShapeDeleted, TXDrawingControl.ShapeDeselected, TXDrawingControl.ShapeFlipped, TXDrawingControl.ShapeFormatChanged, TXDrawingControl.ShapeMoved, TXDrawingControl.ShapeSelected and TXDrawingControl.ShapeSized events.
Syntax
public class ShapeEventArgs : EventArgsPublic Class ShapeEventArgs
Inherits EventArgsExamples
The following example includes the shape value from a Shape Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Shape: {shapeEventArgs.Shape}");
Console.WriteLine("Shape Event Args is ready for use.");Console.WriteLine($"Shape: {shapeEventArgs.Shape}")
Console.WriteLine("Shape Event Args is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Shape | Gets an object of type Shape that represents the shape which causes the event. |