PdfPageGdiExtensions.Draw Method

Draws the page on a Graphics.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public static void Draw(
	this PdfPage page,
	Graphics g
)
VB
<ExtensionAttribute>
Public Shared Sub Draw ( 
	page As PdfPage,
	g As Graphics
)

Parameters

page
Type: BitMiracle.Docotic.Pdf.PdfPage
The page.
g
Type: System.Drawing.Graphics
The Graphics to draw the page on.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PdfPage. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also