 | 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.NetAssembly: Patagames.Pdf.Gdi (in Patagames.Pdf.Gdi.dll) Version: 5.1.3
Syntaxpublic static void Render(
this PdfPage page,
PdfBitmap bitmap,
Point location,
Size size,
PageRotate rotate,
RenderFlags flags
)
<ExtensionAttribute>
Public Shared Sub Render (
page As PdfPage,
bitmap As PdfBitmap,
location As Point,
size As Size,
rotate As PageRotate,
flags As RenderFlags
)
public:
[ExtensionAttribute]
static void Render(
PdfPage^ page,
PdfBitmap^ bitmap,
Point location,
Size size,
PageRotate rotate,
RenderFlags flags
)
[<ExtensionAttribute>]
static member Render :
page : PdfPage *
bitmap : PdfBitmap *
location : Point *
size : Size *
rotate : PageRotate *
flags : RenderFlags -> unit /** @attribute ExtensionAttribute */
public static void Render(
PdfPage page,
PdfBitmap bitmap,
Point location,
Size size,
PageRotate rotate,
RenderFlags flags
)
Patagames.Pdf.Net.PdfPageExtension.Render = function(page, bitmap, location, size, rotate, 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