PageConstants class
Contents
[
Hide
]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.
The PageConstants type exposes the following members:
Properties
Name | Description |
---|---|
orientation_list | |
size_list | |
ORIENTATION | Orientation key, for the named orienation of page, Portret or Landscape. |
VIEWING_ORIENTATION | Viewing orientation key, for rotation matrix distinguishing orientation of content on the page. The default viewing orientation matrix is identity. |
ORIENTATION_PORTRAIT | “Portrait” orientation value |
ORIENTATION_LANDSCAPE | “Landscape” orientation value |
ORIENTATION_BEST_FIT | “Best fit” orientation value |
PAGE_SIZE | Page size key |
SIZE_INTERNATIONAL | “International” page size value |
SIZE_A3 | “A3” page size value |
SIZE_A4 | “A4” page size value |
SIZE_A5 | “A5” page size value |
SIZE_A6 | “A6” page size value |
SIZE_LETTER | “Letter” page size value |
SIZE_LEGAL | “Legal” page size value |
SIZE_EXECUTIVE | “Executive” page size value |
SIZE_LEDGER | “Ledger” page size value |
PAGE_MARGINS | Page margins key |
MARGINS_ZERO | “Zero” page margins value |
MARGINS_SMALL | “Small” page margins value |
MARGINS_MEDIUM | “Medium” page margins value |
MARGINS_LARGE | “Large” page margins value |
FIT_TO_PAGE | Fit content to page key |
TRANSPARENT | Transparent background key |
BACKGROUND | Background key |
BACKGROUND_COLOR | Background color key |
Methods
Name | Description |
---|---|
get_size(size) | Calculates page size in “Portrait” page orientation |
get_size(size, orientation) | Calculates page size in “Portrait” page orientation |
get_size(size, orientation) | Calculates page size in given page orientation |
get_margins(margins_size) | Gets page margins values |
get_margins(margins, orientation) | Gets page margins values |
See Also
- module
aspose.page.eps
- package
aspose.page