# PaperSize Class

> The PaperSize class is used with the TextControl.GetSupportedPaperSizes and WPF.TextControl.GetSupportedPaperSizes methods, which return the names and the sizes of all currently supported paper sizes. These paper sizes depend on the formatting device set with the TextControl.FormattingPrinter or WPF.TextControl.FormattingPrinter property.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 24.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.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 WPF > Reference > TXTextControl > PaperSize Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/papersize/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/papersize/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/papersize/llms-full.txt

---

## On This Page

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

---

## In This Section

- [PaperSize.Height Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/papersize/height-property/llms.txt): Gets the height of the paper size, in twips. The value of this property is the height (y-dimension) of the paper size as if the paper were in the portrait orientation.
- [PaperSize.Name Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/papersize/name-property/llms.txt): Gets the name of the paper size.
- [PaperSize.Width Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/papersize/width-property/llms.txt): Gets the width of the paper size, in twips. The value of this property is the width (x-dimension) of the paper size as if the paper were in the portrait orientation.

---

## Nearby

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