M_PDFiumSharp_PDFium_FPDF_RenderPageBitmap - ArgusMagnus/PDFiumSharp GitHub Wiki
Render contents of a page to a device independent bitmap.
Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0
C#
public static void FPDF_RenderPageBitmap(
FPDF_BITMAP bitmap,
FPDF_PAGE page,
int start_x,
int start_y,
int size_x,
int size_y,
PageOrientations rotation,
RenderingFlags flags
)
- bitmap
- Type: PDFiumSharp.Types.FPDF_BITMAP
Handle to the device independent bitmap (as the output buffer). The bitmap handle can be created by FPDFBitmap_Create(Int32, Int32, Boolean). - page
- Type: PDFiumSharp.Types.FPDF_PAGE
Handle to the page. - start_x
- Type: System.Int32
Left pixel position of the display area in bitmap coordinates. - start_y
- Type: System.Int32
Top pixel position of the display area in bitmap coordinates. - size_x
- Type: System.Int32
Horizontal size (in pixels) for displaying the page. - size_y
- Type: System.Int32
Vertical size (in pixels) for displaying the page. - rotation
- Type: PDFiumSharp.PageOrientations
- flags
- Type: PDFiumSharp.RenderingFlags
None for normal display, or combination of the Page Rendering flags defined above. With the Annotations flag, it renders all annotations that do not require user-interaction, which are all annotations except widget and popup annotations.
PDFium Class
PDFiumSharp Namespace
[M:PDFiumSharp.PdfPage.Render(PDFiumSharp.PDFiumBitmap,System.,PDFiumSharp.PageOrientations,PDFiumSharp.RenderingFlags)]