M_PDFiumSharp_RenderingExtensionsXwt_Render - ArgusMagnus/PDFiumSharp GitHub Wiki
Renders the page to a BitmapImage
Namespace: PDFiumSharp
Assembly: PDFiumSharp.Xwt (in PDFiumSharp.Xwt.dll) Version: 0.1.0.0 (1.0.0.0)
C#
public static void Render(
this PdfPage page,
BitmapImage renderTarget,
PageOrientations orientation = PageOrientations.Normal,
RenderingFlags flags = RenderingFlags.None
)
- page
- Type: PDFiumSharp.PdfPage
The page which is to be rendered. - renderTarget
- Type: BitmapImage
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).
RenderingExtensionsXwt Class
Render Overload
PDFiumSharp Namespace