PaperSize
Overview
PaperSize is an enum in Aspose.Words FOSS for Java.
Specifies paper size.
Edition status of its 25 listed members (a property and its accessor methods are listed separately, overloads once): 25 not yet exercised by a verified example.
This enum declares 4 methods for PaperSize objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
A3 | 297 x 420 mm. |
A4 | 210 x 297 mm. |
A5 | 148 x 210 mm. |
B4 | 250 x 353 mm. |
B5 | 176 x 250 mm. |
EXECUTIVE | 7.25 x 10.5 inches. |
FOLIO | 8.5 x 13 inches. |
LEDGER | 17 x 11 inches. |
LEGAL | 8.5 x 14 inches. |
LETTER | 8.5 x 11 inches. |
ENVELOPE_DL | 110 x 220 mm. |
QUARTO | 8.47 x 10.83 inches. |
STATEMENT | 8.5 x 5.5 inches. |
TABLOID | 11 x 17 inches. |
PAPER_10_X_14 | 10 x 14 inches. |
PAPER_11_X_17 | 11 x 17 inches. |
NUMBER_10_ENVELOPE | 4.125 x 9.5 inches. |
JIS_B_4 | 257 x 364 mm. |
JIS_B_5 | 182 x 257 mm. |
CUSTOM | Custom paper size. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of PaperSize values. |
Methods
| Signature | Description |
|---|---|
getName(paperSize: int) → String | Returns JAVA_STYLE string representation of integer PaperSize value. |
toString(paperSize: int) → String | Returns DotNetStyle string representation of integer PaperSize value. |
fromName(paperSizeName: String) → int | Returns integer representation by PaperSize name. |
getValues() → int[] | Returns array of PaperSize values. |