Click or drag to resize

PdfiumFFPDFBitmap_CloneConvert Method

Clone and convert the bitmap to the specified format.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FFPDFBitmap_CloneConvert(
	IntPtr bitmap,
	BitmapFormats format
)

Parameters

bitmap  IntPtr
A handle to the device independent bitmap.
format  BitmapFormats
The pixel format to convert bitmap to.

Return Value

IntPtr
A bitmap descriptor containing copied pixels. When an application is finished using the bitmap handle returned by FFPDFBitmap_CloneConvert(IntPtr, BitmapFormats), use the FPDFBitmap_Destroy(IntPtr) function to close the handle.
See Also