# DrawShapeEventArgs Class

> The DrawShapeEventArgs class contains information to draw additional parts necessary when the user interacts with the document. These additional parts are the frame shown during an image or textframe is moved or sized and the line shown during the width of a table cell is changed. This class is used with the ServerVisualization.TextViewGenerator.DrawShape event.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.ServerVisualisation`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Server.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Inherits:** `System.EventArgs`
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.ServerVisualization > DrawShapeEventArgs Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/#members)

---

## In This Section

- [DrawShapeEventArgs.Kind Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/kind-property/llms.txt): Gets the kind of the shape. It can be one of the ServerVisualization.DrawShapeEventArgs.Shape values.
- [DrawShapeEventArgs.Location Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/location-property/llms.txt): Gets the location of the shape, in pixels.
- [DrawShapeEventArgs.Shape Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/shape-enumeration/llms.txt): Determines a shape to be drawn during the DrawShape event. It contains the following values:
- [DrawShapeEventArgs.Size Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/size-property/llms.txt): Gets the size of the shape, in pixels.

---

## Nearby

- **Previous:** [DrawDateControlEventArgs.Location Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawdatecontroleventargs/location-property/llms.txt)
- **Next:** [DrawShapeEventArgs.Kind Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/drawshapeeventargs/kind-property/llms.txt)
