O2S.Components.PDF4NET.Render Documentation
ConvertPageToImage(PDFRendererSettings) Method



O2S.Components.PDF4NET.Rendering Namespace > PDFPageRenderer Class > ConvertPageToImage Method : ConvertPageToImage(PDFRendererSettings) Method
Settings for the rendering process.
Converts the PDF page to an image.
Syntax
'Declaration
 
Public Overloads Function ConvertPageToImage( _
   ByVal settings As PDFRendererSettings _
) As O2S.Components.PDF4NET.Graphics.PDFSize
'Usage
 
Dim instance As PDFPageRenderer
Dim settings As PDFRendererSettings
Dim value As O2S.Components.PDF4NET.Graphics.PDFSize
 
value = instance.ConvertPageToImage(settings)
public O2S.Components.PDF4NET.Graphics.PDFSize ConvertPageToImage( 
   PDFRendererSettings settings
)
public:
O2S.Components.PDF4NET.Graphics.PDFSize^ ConvertPageToImage( 
   PDFRendererSettings^ settings
) 

Parameters

settings
Settings for the rendering process.

Return Value

Image size in pixels.
Remarks
A valid rendering surface must be provided in the settings parameter because the rendered page will be available only in the surface's storage.
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