PDF4Java Reference Documentation
com.o2sol.pdf4java.document Package / PDFPageSize Class / PDFPageSize Constructor
The name of the predefined page size.
>Initial width in PDF points.
Initial height in PDF points.
Collapse All Expand All
In This Topic

PDFPageSize Constructor
In This Topic
Initializes a new PDFPageSize object with the specified size.
Syntax

    public PDFPageSize(
       java.lang.String name,
       double width,
       double height
    )

#### Parameters

name
  The name of the predefined page size.
width
  >Initial width in PDF points.
height
  Initial height in PDF points.

See Also

#### Reference

PDFPageSize Class
PDFPageSize Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.