-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum PDFPageSize extends Enum<PDFPageSize>
Specifies the desired page size (media box size) for PDF rendering operations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOFor each page the best matching format (A4 or US letter) is used. Whether portrait or landscape depends on the images aspect ratio.
AUTO_LOCALEEach page of the result PDF will be of US letter or A4 size depending on the current locale. Whether portrait or landscape depends on the images aspect ratio.
FIXED_US_LETTERThe page has US letter size. The image is fitted and centered within the page. Whether portrait or landscape depends on the images aspect ratio.
US_LETTERThe page has the aspect ratio of the image, but is fitted into US letter size. Whether portrait or landscape depends on the images aspect ratio.
FIXED_A4The page has A4 size. The image is fitted and centered within the page. Whether portrait or landscape depends on the images aspect ratio.
A4The page has the aspect ratio of the image, but is fitted into A4 size. Whether portrait or landscape depends on the images aspect ratio.
FROM_IMAGEEach page is as large as its image at 72 dpi.
-
Method Summary
Modifier and Type Method Description final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
getOrdinal
final Integer getOrdinal()
-
-
-
-