ViewChangedEventArgs 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 - View
Changed Event Args
- Event
Description
The ViewChangedEventArgs class provides data for the TXDrawingControl.ViewChanged event.
Syntax
public class ViewChangedEventArgs : EventArgsPublic Class ViewChangedEventArgs
Inherits EventArgsExamples
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.");Console.WriteLine($"Clip Rectangle: {viewChangedEventArgs.ClipRectangle}")
Console.WriteLine("View Changed Event Args is ready for use.")Members
Properties
| Property | Description |
|---|---|
| ClipRectangle | Gets an object of type System.Drawing.Rectangle that represents the region where the control view is changed by UI editing. |