## PaperSize class


Specifies the size of a piece of paper.

```cpp
class PaperSize : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| [get_Height](./get_height/)() const | Gets the height of the paper, in hundredths of an inch. |
| [get_Kind](./get_kind/)() const | Gets the type of paper. |
| [get_PaperName](./get_papername/)() const | Gets the name of the type of paper. |
| [get_RawKind](./get_rawkind/)() const | Gets an integer representing one of the [System::Drawing::Printing::PaperSize](./) values or a custom value. |
| [get_Width](./get_width/)() const | Gets the width of the paper, in hundredths of an inch. |
| [PaperSize](./papersize/)() | Initializes a new instance of the [System::Drawing::Printing::PaperSize](./) class. |
| [PaperSize](./papersize/)(PaperKind, System::String, int32_t, int32_t) | Initializes a new instance of the [System::Drawing::Printing::PaperSize](./) class. |
| [PaperSize](./papersize/)(System::String, int32_t, int32_t) | Initializes a new instance of the [System::Drawing::Printing::PaperSize](./) class. |
| [set_Height](./set_height/)(int32_t) | Sets the height of the paper, in hundredths of an inch. |
| [set_PaperName](./set_papername/)(System::String) | Sets the name of the type of paper. |
| [set_RawKind](./set_rawkind/)(int32_t) | Sets an integer representing one of the [System::Drawing::Printing::PaperSize](./) values or a custom value. |
| [set_Width](./set_width/)(int32_t) | Sets the width of the paper, in hundredths of an inch. |
| [ToString](./tostring/)() const override | Provides information about the [System::Drawing::Printing::PaperSize](./) in string form. |
## See Also

* Class [Object](../../system/object/)
* Namespace [System::Drawing::Printing](../)
* Library [Aspose.TeX for C++](../../)
