Package 

Enum PDFPageSize

  • 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
      AUTO

      For each page the best matching format (A4 or US letter) is used. Whether portrait or landscape depends on the images aspect ratio.

      AUTO_LOCALE

      Each 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_LETTER

      The 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_LETTER

      The 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_A4

      The page has A4 size. The image is fitted and centered within the page. Whether portrait or landscape depends on the images aspect ratio.

      A4

      The 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_IMAGE

      Each page is as large as its image at 72 dpi.

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait