# Shape Class

> The Drawing.Shape class represents a shape which can be displayed inside the TX Drawing Control. The Outline class implements the System.ComponentModel.INotifyPropertyChanged interface.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Drawing`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXDrawing.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDrawing.dll` from the setup
- **Implements:** `System.ComponentModel.INotifyPropertyChanged`
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Drawing > Shape Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/llms-full.txt

---

## On This Page

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

---

## In This Section

- [Shape.Angle Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/angle-property/llms.txt): Gets or sets the angle of the shape inside the TX Drawing Control. The default value is 0.
- [Shape.AutoSize Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/autosize-property/llms.txt): Gets or sets a value indicating whether the shape is automatically resized with the TX Drawing Control. The default value is false.
- [Shape.Bounds Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/bounds-property/llms.txt): Gets or sets the bounding rectangle of the shape. The values are given in twips with an origin at the upper left corner of the TX Drawing Control. The default value correspond to the shape's default Location and Size values.
- [Shape.CanFitToCanvas Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/canfittocanvas-property/llms.txt): Gets a value which indicates whether the FitToCanvas method can be used or not.
- [Shape Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/constructor/llms.txt): Initializes a new instance of the Shape class.
- [Shape.FitToCanvas Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/fittocanvas-method/llms.txt): Expands the shape to the control's canvas size. The method has no effect if the CanFitToCanvas property returns false.
- [Shape.Flip Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/flip-property/llms.txt): Gets or sets whether and in what form the shape is flipped. The default value is Flip.None
- [Shape.Index Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/index-property/llms.txt): Represents the index of the shape inside control's shape collection.
- [Shape.IsSelected Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/isselected-property/llms.txt): Gets a value which indicates whether the shape is selected or not. The default value is false.
- [Shape.Location Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/location-property/llms.txt): Gets or sets shape's current location. The values are given in twips with an origin at the upper left corner of the TX Drawing Control. The default values for Location.X and Location.Y correspond to one quarter the smallest control side.
- [Shape.Movable Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/movable-property/llms.txt): Gets or sets a value which indicates whether the shape is movable or not. The default value is true.
- [Shape.ShapeFill Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/shapefill-property/llms.txt): Gets the shape's fill properties.
- [Shape.ShapeOutline Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/shapeoutline-property/llms.txt): Gets the shape's outline properties.
- [Shape.Sizable Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/sizable-property/llms.txt): Gets or sets a value which indicates whether the shape is sizable or not. The default value is true.
- [Shape.Size Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/size-property/llms.txt): Gets or sets the shape's current size. The values are given in twips. The default values for Size.Width and Size.Height correspond to one half the smallest control side.
- [Shape.Type Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/type-property/llms.txt): Gets or sets the shape's type. The default value is Drawing.ShapeType.Custom.

---

## Nearby

- **Previous:** [Selection.Shapes Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/selection/shapes-property/llms.txt)
- **Next:** [Shape.Angle Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/angle-property/llms.txt)
