TX Text Control .NET for Windows Forms

ClipRectangle Property

Property|Introduced in 24.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.WinForms.SDK as TXDrawing.dll from the private NuGet feed or Text Control Offline Packages

Description

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

Syntax

public Rectangle ClipRectangle { get; }

Examples

The following example includes the clip rectangle value 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.");

Limitations

Read only.