M_PDFiumSharp_RenderingExtensionsWpf_Render - ArgusMagnus/PDFiumSharp GitHub Wiki

RenderingExtensionsWpf.Render Method (PdfPage, WriteableBitmap, PageOrientations, RenderingFlags)

Renders the page to a WriteableBitmap

Namespace: PDFiumSharp
Assembly: PDFiumSharp.Wpf (in PDFiumSharp.Wpf.dll) Version: 0.1.0.0 (1.0.0.0)

Syntax

C#

public static void Render(
	this PdfPage page,
	WriteableBitmap renderTarget,
	PageOrientations orientation = PageOrientations.Normal,
	RenderingFlags flags = RenderingFlags.None
)

Parameters

 

page
Type: PDFiumSharp.PdfPage
The page which is to be rendered.
renderTarget
Type: System.Windows.Media.Imaging.WriteableBitmap
The bitmap to which the page is to be rendered.
orientation (Optional)
Type: PDFiumSharp.PageOrientations
The orientation at which the page is to be rendered.
flags (Optional)
Type: PDFiumSharp.RenderingFlags
The flags specifying how the page is to be rendered.

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

Reference

RenderingExtensionsWpf Class
Render Overload
PDFiumSharp Namespace

⚠️ **GitHub.com Fallback** ⚠️