Click or drag to resize

PdfPageExtensionRender(PdfPage, PdfBitmap, Point, Size, PageRotate, RenderFlags) Method

Render contents in a page to a device-independent bitmap specified by a location and size.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf.Gdi (in Patagames.Pdf.Gdi.dll) Version: 5.1.3
Syntax
public static void Render(
	this PdfPage page,
	PdfBitmap bitmap,
	Point location,
	Size size,
	PageRotate rotate,
	RenderFlags flags
)

Parameters

page  PdfPage
The page to render.
bitmap  PdfBitmap
Instance of PdfBitmap class.
location  Point
A Point structure that represents the Top-Left corner of the display area in the bitmap coordinate.
size  Size
A Size structure that represents the horizontal and vertical size (in pixels) for displaying the page.
rotate  PageRotate
Page orientation. See PageRotate for details.
flags  RenderFlags
RenderFlags.None for normal display, or combination of RenderFlags

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