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

ValueDescription
A3297 x 420 mm.
A4210 x 297 mm.
A5148 x 210 mm.
B4250 x 353 mm.
B5176 x 250 mm.
EXECUTIVE7.25 x 10.5 inches.
FOLIO8.5 x 13 inches.
LEDGER17 x 11 inches.
LEGAL8.5 x 14 inches.
LETTER8.5 x 11 inches.
ENVELOPE_DL110 x 220 mm.
QUARTO8.47 x 10.83 inches.
STATEMENT8.5 x 5.5 inches.
TABLOID11 x 17 inches.
PAPER_10_X_1410 x 14 inches.
PAPER_11_X_1711 x 17 inches.
NUMBER_10_ENVELOPE4.125 x 9.5 inches.
JIS_B_4257 x 364 mm.
JIS_B_5182 x 257 mm.
CUSTOMCustom paper size.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of PaperSize values.

Methods

SignatureDescription
getName(paperSize: int) → StringReturns JAVA_STYLE string representation of integer PaperSize value.
toString(paperSize: int) → StringReturns DotNetStyle string representation of integer PaperSize value.
fromName(paperSizeName: String) → intReturns integer representation by PaperSize name.
getValues() → int[]Returns array of PaperSize values.

See Also