TX Text Control .NET for WPF

FrameSized Event

Event|Introduced in 24.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Occurs when a frame (image, text frame, chart, barcode or drawing) has been sized. The event handler receives an argument of type FrameEventArgs containing data related to this event.

Syntax

public event FrameEventHandler FrameSized;

Examples

The following example records useful context when frame sized occurs.

textControl.FrameSized += (sender, e) =>
{
    Console.WriteLine($"Frame Sized at {DateTime.Now:u}");
};