# PageSize.Attribute Enumeration

> Determines a certain attribute. This enumeration is used with the Selection.IsCommonValueSelected method.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 16.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > PageSize.Attribute Enumeration
- **456 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagesize/attribute-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagesize/attribute-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagesize/attribute-enumeration/llms-full.txt

---

### Description

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

### Syntax

```csharp
public enum PageSize.Attribute
```

```vbnet
Public Enum PageSize.Attribute
```

### Members

| Member | Value | Description |
|---|---|---|
| Height | 2 | Specifies the attribute set through the Height property. |
| Width | 1 | Specifies the attribute set through the Width property. |
| All | 3 | Not described in the reference. |

### Examples

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

```csharp
PageSize.Attribute value = PageSize.Attribute.Width;
Console.WriteLine($"Using Attribute: {value}");
```

```vbnet
Dim value As PageSize.Attribute = PageSize.Attribute.Width
Console.WriteLine($"Using Attribute: {value}")
```

---

## Nearby

- **Previous:** [PageSize Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagesize/llms-full.txt)
- **Next:** [PageSize Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagesize/constructor/llms-full.txt)
