Skip to content

PdfPageRenderer.GetPageImageSize Method

Overloads

Name Description
GetPageImageSize(Double) Gets the size in pixels of the page when converted to image at the specified resolution.
GetPageImageSize(Double,Double) Gets the size in pixels of the page when converted to image at the specified resolution.

GetPageImageSize(Double)

Gets the size in pixels of the page when converted to image at the specified resolution.

C#
public PdfSize GetPageImageSize(double dpi)

Parameters

dpi Double

The resolution used for converting the vector PDF page to raster.

GetPageImageSize(Double,Double)

Gets the size in pixels of the page when converted to image at the specified resolution.

C#
public PdfSize GetPageImageSize(double dpiX, double dpiY)

Parameters

dpiX Double

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

dpiY Double

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