M_PDFiumSharp_RenderingExtensionsWpf_Render - ArgusMagnus/PDFiumSharp GitHub Wiki
Renders the page to a WriteableBitmap
Namespace: PDFiumSharp
Assembly: PDFiumSharp.Wpf (in PDFiumSharp.Wpf.dll) Version: 0.1.0.0 (1.0.0.0)
C#
public static void Render(
this PdfPage page,
WriteableBitmap renderTarget,
PageOrientations orientation = PageOrientations.Normal,
RenderingFlags flags = RenderingFlags.None
)
- 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.
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).
RenderingExtensionsWpf Class
Render Overload
PDFiumSharp Namespace