PdfPageRenderer.GetImageBoxForVisual Method
GetImageBoxForVisual(PdfStandardRectangle,Int32,Double,Double)
Gets the size in pixels of the page when converted to image at the specified resolution.
C#
public static Int32[] GetImageBoxForVisual(PdfStandardRectangle pageBox, int rotation, double dpiX, double dpiY)
Parameters
pageBox PdfStandardRectangle
The page visible box.
rotation Int32
Page rotation.
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.