XFINIUM.PDF.Render Documentation
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.
Gets the size in pixels of the page when converted to image at the specified resolution.
Syntax
'Declaration
 
Public Overloads Function GetPageImageSize( _
   ByVal dpiX As Double, _
   ByVal dpiY As Double _
) As Xfinium.Pdf.Graphics.PdfSize
'Usage
 
Dim instance As PdfPageRenderer
Dim dpiX As Double
Dim dpiY As Double
Dim value As Xfinium.Pdf.Graphics.PdfSize
 
value = instance.GetPageImageSize(dpiX, dpiY)
public Xfinium.Pdf.Graphics.PdfSize GetPageImageSize( 
   double dpiX,
   double dpiY
)
public:
Xfinium.Pdf.Graphics.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.
Requirements

Supported .NET Platforms: .NET 2.0 - .NET 4.6, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Windows Phone 8 & 8.1, Xamarin iOS & Android, Portable Class Library


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfPageRenderer Class
PdfPageRenderer Members
Overload List

Send Feedback