ClipRectangle Property
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WinForms. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public ReadOnly Property ClipRectangle As RectangleExamples
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.");Console.WriteLine($"Clip Rectangle: {viewChangedEventArgs.ClipRectangle}")
Console.WriteLine("View Changed Event Args is ready for use.")Limitations
Read only.