# PageMargins.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
- **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 > PageMargins.Attribute Enumeration
- **527 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagemargins/attribute-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagemargins/attribute-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagemargins/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 PageMargins.Attribute
```

```vbnet
Public Enum PageMargins.Attribute
```

### Members

| Member | Value | Description |
|---|---|---|
| Bottom | 8 | Specifies the attribute set through the Bottom property. |
| Left | 1 | Specifies the attribute set through the Left property. |
| Right | 4 | Specifies the attribute set through the Right property. |
| Top | 2 | Specifies the attribute set through the Top property. |
| All | 15 | Not described in the reference. |

### Examples

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

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

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

---

## Nearby

- **Previous:** [PageMargins Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagemargins/llms-full.txt)
- **Next:** [PageMargins.Bottom Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/pagemargins/bottom-property/llms-full.txt)
