PDFView4NET WinForms Edition


O2S.Components.PDFRender4NET Namespace > PDFFile Class > RenderPage Method : RenderPage(Int32,Graphics,Double,Double) Method
The number of the page to render.
The drawing surface.
The X coordinate of the top left corner of the page.
The Y coordinate of the top left corner of the page.
RenderPage(Int32,Graphics,Double,Double) Method
Renders the specified page on a graphics surface.
Syntax
'Declaration
 
Public Overloads Sub RenderPage( _
   ByVal pageNumber As Integer, _
   ByVal g As Graphics, _
   ByVal x As Double, _
   ByVal y As Double _
) 
'Usage
 
Dim instance As PDFFile
Dim pageNumber As Integer
Dim g As Graphics
Dim x As Double
Dim y As Double
 
instance.RenderPage(pageNumber, g, x, y)
public void RenderPage( 
   int pageNumber,
   Graphics g,
   double x,
   double y
)

Parameters

pageNumber
The number of the page to render.
g
The drawing surface.
x
The X coordinate of the top left corner of the page.
y
The Y coordinate of the top left corner of the page.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also