PDFView4NET WinForms Edition
RenderPage(Int32,Graphics,Double,Double,PDFPrintContent) Method




O2S.Components.PDFRender4NET Namespace > PDFFile Class > RenderPage Method : RenderPage(Int32,Graphics,Double,Double,PDFPrintContent) 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.
The page content to be rendered.
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, _
   ByVal printContent As PDFPrintContent _
) 
'Usage
 
Dim instance As PDFFile
Dim pageNumber As Integer
Dim g As Graphics
Dim x As Double
Dim y As Double
Dim printContent As PDFPrintContent
 
instance.RenderPage(pageNumber, g, x, y, printContent)

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.
printContent
The page content to be rendered.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFFile Class
PDFFile Members
Overload List