M_PDFiumSharp_PDFium_FPDF_RenderPageBitmapWithMatrix - ArgusMagnus/PDFiumSharp GitHub Wiki

PDFium.FPDF_RenderPageBitmapWithMatrix Method

Render contents of a page to a device independent bitmap.

Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0

Syntax

C#

public static void FPDF_RenderPageBitmapWithMatrix(
	FPDF_BITMAP bitmap,
	FPDF_PAGE page,
	FS_MATRIX matrix,
	FS_RECTF clipping,
	RenderingFlags flags
)

Parameters

 

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.
matrix
Type: PDFiumSharp.Types.FS_MATRIX
The transform matrix.
clipping
Type: PDFiumSharp.Types.FS_RECTF
The rect to clip to.
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.

See Also

Reference

PDFium Class
PDFiumSharp Namespace

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