TX Text Control .NET Server

ClipRectangle Property

Property|Introduced in 24.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Gets the rectangular area, in pixels, which is affected through the changes. The coordinates are relative to the top-left corner of the view's image, which is determined through the View.Location and View.Size properties.

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.