## PageConstants class


This class defines a set of constants which describe a page. Convenience objects are provided for various margins, orientations, rescaling, and standard page sizes.

```cpp
class PageConstants : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| static [BACKGROUND](./background/)() | Background key. |
| static [BACKGROUND_COLOR](./background_color/)() | Background color key. |
| static [FIT_TO_PAGE](./fit_to_page/)() | Fit content to page key. |
| static [get_OrientationList](./get_orientationlist/)() |  |
| static [get_SizeList](./get_sizelist/)() |  |
| static [GetMargins](./getmargins/)(const System::String\&) | Gets page margins values |
| static [GetMargins](./getmargins/)(System::SharedPtr\<Margins\>, System::String) | Calculate page margins мфдгуы in specified orientation |
| static [GetSize](./getsize/)(const System::String\&) | Calculates page size in "Portrait" page orientation |
| static [GetSize](./getsize/)(const System::String\&, const System::String\&) | Calculates page size in given page orientation |
| static [GetSize](./getsize/)(Drawing::Size, System::String) | Calculates page size in given page orientation |
| static [MARGINS_LARGE](./margins_large/)() | "Large" page margins value |
| static [MARGINS_MEDIUM](./margins_medium/)() | "Medium" page margins value |
| static [MARGINS_SMALL](./margins_small/)() | "Small" page margins value |
| static [MARGINS_ZERO](./margins_zero/)() | "Zero" page margins value |
| static [ORIENTATION](./orientation/)() | Orientation key, for the named orienation of page, Portret or Landscape. |
| static [ORIENTATION_BEST_FIT](./orientation_best_fit/)() | "Best fit" orientation value |
| static [ORIENTATION_LANDSCAPE](./orientation_landscape/)() | "Landscape" orientation value |
| static [ORIENTATION_PORTRAIT](./orientation_portrait/)() | "Portrait" orientation value |
| static [PAGE_MARGINS](./page_margins/)() | [Page](../../aspose.page/) margins key. |
| static [PAGE_SIZE_](./page_size_/)() | [Page](../../aspose.page/) size key. |
| static [SIZE_A3](./size_a3/)() | "A3" page size value |
| static [SIZE_A4](./size_a4/)() | "A4" page size value |
| static [SIZE_A5](./size_a5/)() | "A5" page size value |
| static [SIZE_A6](./size_a6/)() | "A6" page size value |
| static [SIZE_EXECUTIVE](./size_executive/)() | "Executive" page size value |
| static [SIZE_INTERNATIONAL](./size_international/)() | "International" page size value |
| static [SIZE_LEDGER](./size_ledger/)() | "Ledger" page size value |
| static [SIZE_LEGAL](./size_legal/)() | "Legal" page size value |
| static [SIZE_LETTER](./size_letter/)() | "Letter" page size value |
| static [TRANSPARENT](./transparent/)() | Transparent background key. |
## Fields

| Field | Description |
| --- | --- |
| static [VIEWING_ORIENTATION](./viewing_orientation/) | Viewing orientation key, for rotation matrix distinguishing orientation of content on the page. The default viewing orientation matrix is identity. |
## See Also

* Class [Object](../../system/object/)
* Namespace [Aspose::Page::EPS](../)
* Library [Aspose.Page for C++](../../)
