ShapeSized Event
- 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
Occurs when a shape has been sized. The event handler receives an argument of type ShapeEventArgs containing data related to this event.
Syntax
public event ShapeEventHandler ShapeSized;Public Event ShapeSized As ShapeEventHandlerExamples
The following example records useful context when shape sized occurs.
tXDrawingCore.ShapeSized += (sender, e) =>
{
Console.WriteLine($"Shape Sized at {DateTime.Now:u}");
};AddHandler tXDrawingCore.ShapeSized,
Sub(sender, e)
Console.WriteLine($"Shape Sized at {DateTime.Now:u}")
End Sub