PDF4Java.Render Reference Documentation
com.o2sol.pdf4java.render Package / PDFPageRenderer Class / getPageImageSize Method / getPageImageSize(double,double) Method
The horizontal resolution used for converting the vector PDF page to raster.
The vertical resolution used for converting the vector PDF page to raster.
Collapse All Expand All
In This Topic

getPageImageSize(double,double) Method
In This Topic
Gets the size in pixels of the page when converted to image at the specified resolution.
Syntax

    public PDFSize getPageImageSize(
       double dpiX,
       double dpiY
    )

#### Parameters

dpiX
  The horizontal resolution used for converting the vector PDF page to raster.
dpiY
  The vertical resolution used for converting the vector PDF page to raster.

#### Return Value

Image size in pixels.
See Also

#### Reference

PDFPageRenderer Class
PDFPageRenderer Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.