 | PdfPrintDocumentOnBeforeRenderPage Method |
Raises the BeforeRenderPage event.
Namespace:
Patagames.Pdf.Net.Controls.WinForms
Assembly:
Patagames.Pdf.WinForms (in Patagames.Pdf.WinForms.dll) Version: 4.40.2704
Syntaxprotected virtual void OnBeforeRenderPage(
Graphics g,
PdfPage page,
ref int x,
ref int y,
ref int width,
ref int height,
PageRotate rotation
)
Protected Overridable Sub OnBeforeRenderPage (
g As Graphics,
page As PdfPage,
ByRef x As Integer,
ByRef y As Integer,
ByRef width As Integer,
ByRef height As Integer,
rotation As PageRotate
)
protected:
virtual void OnBeforeRenderPage(
Graphics^ g,
PdfPage^ page,
int% x,
int% y,
int% width,
int% height,
PageRotate rotation
)
abstract OnBeforeRenderPage :
g : Graphics *
page : PdfPage *
x : int byref *
y : int byref *
width : int byref *
height : int byref *
rotation : PageRotate -> unit
override OnBeforeRenderPage :
g : Graphics *
page : PdfPage *
x : int byref *
y : int byref *
width : int byref *
height : int byref *
rotation : PageRotate -> unit
protected void OnBeforeRenderPage(
Graphics g,
PdfPage page,
/** @ref */int x,
/** @ref */int y,
/** @ref */int width,
/** @ref */int height,
PageRotate rotation
)
function OnBeforeRenderPage(g, page, x, y, width, height, rotation);
Parameters
- g
- Type: System.DrawingGraphics
Drawing surface. - page
- Type: Patagames.Pdf.NetPdfPage
The pagewhat will be printed. - x
- Type: SystemInt32
Horizontal position of the page on the drawing surface. - y
- Type: SystemInt32
Vertical position of the page on the drawing surface. - width
- Type: SystemInt32
The page's width calculated to match the sheet size. - height
- Type: SystemInt32
The page's height calculated to match the sheet size. - rotation
- Type: Patagames.Pdf.EnumsPageRotate
The page rotation.
See Also