# ViewChangedEventArgs.ClipRectangle Property

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

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.Drawing`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXDrawing.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXDrawing.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDrawing.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Drawing > ViewChangedEventArgs.ClipRectangle Property
- **312 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-drawing/viewchangedeventargs/cliprectangle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-drawing/viewchangedeventargs/cliprectangle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-drawing/viewchangedeventargs/cliprectangle-property/llms-full.txt

---

### Description

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

### Syntax

```csharp
public Rectangle ClipRectangle { get; }
```

```vbnet
Public ReadOnly Property ClipRectangle As Rectangle
```

### Examples

The following example includes the clip rectangle value in application diagnostics. The created object is then available to the surrounding document workflow.

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

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

### Limitations

Read only.

---

## Nearby

- **Previous:** [ViewChangedEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-drawing/viewchangedeventargs/llms-full.txt)
- **Next:** [TXTextControl.ServerVisualization namespace](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/llms-full.txt)
