# Selection.Attribute Enumeration

> Determines a certain shape class attribute. This enumeration is used with the IsCommonValueSelected method and contains the following values:

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **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
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Drawing > Selection.Attribute Enumeration
- **1233 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/selection-attribute/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/selection-attribute/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/selection-attribute/enumeration/llms-full.txt

---

### Description

Determines a certain [shape](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/llms-full.txt) class attribute. This enumeration is used with the [IsCommonValueSelected](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/selection/iscommonvalueselected-method/llms-full.txt) method and contains the following values:

### Syntax

```csharp
public enum Selection.Attribute
```

```vbnet
Public Enum Selection.Attribute
```

### Members

| Member | Value | Description |
|---|---|---|
| Angle | 0 | Specifies the attribute set through the [Shape.Angle](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/angle-property/llms-full.txt) property. |
| AutoSize | 1 | Specifies the attribute set through the [Shape.AutoSize](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/autosize-property/llms-full.txt) property. |
| CanFitToCanvas | 2 | Specifies the attribute set through the [Shape.CanFitToCanvas](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/canfittocanvas-property/llms-full.txt) property. |
| FillColor | 3 | Specifies the attribute set through the [Shape.ShapeFill.Color](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/shapefill-property/llms-full.txt) property. |
| FlipHorizontal | 4 | Specifies the horizontal attribute set through the [Shape.Flip](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/flip-property/llms-full.txt) property. |
| FlipVertical | 5 | Specifies the vertical attribute set through the [Shape.Flip](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/flip-property/llms-full.txt) property. |
| Movable | 6 | Specifies the attribute set through the [Shape.Movable](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/movable-property/llms-full.txt) property. |
| LineColor | 7 | Specifies the attribute set through the [Shape.ShapeOutline.Color](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/shapeoutline-property/llms-full.txt) property. |
| LineWidth | 8 | Specifies the attribute set through the [Shape.ShapeOutline.Width](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/shapeoutline-property/llms-full.txt) property. |
| LocationX | 9 | Specifies the x attribute set through the [Shape.Location.X](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/location-property/llms-full.txt) property. |
| LocationY | 10 | Specifies the y attribute set through the [Shape.Location.Y](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/location-property/llms-full.txt) property. |
| Sizable | 11 | Specifies the attribute set through the [Shape.Sizable](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/sizable-property/llms-full.txt) property. |
| SizeHeight | 12 | Specifies the height attribute set through the [Shape.Size.Height](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/size-property/llms-full.txt) property. |
| SizeWidth | 13 | Specifies the width attribute set through the [Shape.Size.Width](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/size-property/llms-full.txt) property. |

### Examples

The following example selects the Angle value from the Attribute enumeration and uses it as a documented workflow choice.

```csharp
TXTextControl.Drawing.Selection.Attribute value = TXTextControl.Drawing.Selection.Attribute.Angle;
Console.WriteLine($"Using Attribute: {value}");
```

```vbnet
Dim value As TXTextControl.Drawing.Selection.Attribute = TXTextControl.Drawing.Selection.Attribute.Angle
Console.WriteLine($"Using Attribute: {value}")
```

---

## Nearby

- **Previous:** [Selection Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/selection/llms-full.txt)
- **Next:** [Selection.BringForward Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/selection/bringforward-method/llms-full.txt)
