# PaperSize.Name Property

> Gets the name of the paper size.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.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 > PaperSize.Name Property
- **392 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/papersize/name-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/papersize/name-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/papersize/name-property/llms-full.txt

---

### Description

Gets the name of the paper size.

### Syntax

```csharp
public string Name { get; }
```

```vbnet
Public ReadOnly Property Name As String
```

### Examples

The following example selects the supported A4 paper definition by name.

```csharp
PaperSize paperSize = textControl.GetSupportedPaperSizes()
    .First(size => size.Name.Contains("A4", StringComparison.OrdinalIgnoreCase));
Console.WriteLine($"Using paper size: {paperSize.Name}");
```

```vbnet
Dim paperSize As PaperSize = textControl.GetSupportedPaperSizes().
    First(Function(size) size.Name.IndexOf("A4", StringComparison.OrdinalIgnoreCase) >= 0)
Console.WriteLine($"Using paper size: {paperSize.Name}")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [PaperSize.Height Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/papersize/height-property/llms-full.txt)
- **Next:** [PaperSize.Width Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/papersize/width-property/llms-full.txt)
