TX Text Control .NET Server

ViewChangedEventArgs Class

Class|Introduced in 24.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDrawing.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXDrawing.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXDrawing.dll
Inherits
  1. EventArgs
  2. ViewChangedEventArgs

Description

The ViewChangedEventArgs class provides data for the TXDrawingControl.ViewChanged event.

Syntax

public class ViewChangedEventArgs : EventArgs

Examples

The following example includes the clip rectangle value from a View Changed Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Clip Rectangle: {viewChangedEventArgs.ClipRectangle}");
Console.WriteLine("View Changed Event Args is ready for use.");

Members

Properties

PropertyDescription
ClipRectangleGets an object of type System.Drawing.Rectangle that represents the region where the control view is changed by UI editing.