O2S.Components.PDF4NET.Render Documentation
GetPageImageSize(Double) Method



O2S.Components.PDF4NET.Rendering Namespace > PDFPageRenderer Class > GetPageImageSize Method : GetPageImageSize(Double) Method
The 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 dpi As Double _
) As O2S.Components.PDF4NET.Graphics.PDFSize
'Usage
 
Dim instance As PDFPageRenderer
Dim dpi As Double
Dim value As O2S.Components.PDF4NET.Graphics.PDFSize
 
value = instance.GetPageImageSize(dpi)
public O2S.Components.PDF4NET.Graphics.PDFSize GetPageImageSize( 
   double dpi
)
public:
O2S.Components.PDF4NET.Graphics.PDFSize^ GetPageImageSize( 
   double dpi
) 

Parameters

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

Return Value

Image size in pixels.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


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