Click or drag to resize

PdfiumFFPDFBitmap_GetAlphaMask Method

Get the bitmap's alpha channel as a FXDIB_8bppMask bitmap.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FFPDFBitmap_GetAlphaMask(
	IntPtr bitmap,
	FX_RECT pClip = null
)

Parameters

bitmap  IntPtr
A handle to the device independent bitmap.
pClip  FX_RECT  (Optional)
Clipping area.

Return Value

IntPtr
A bitmap descriptor containing copied pixels. When an application is finished using the bitmap handle returned by FFPDFBitmap_GetAlphaMask(IntPtr, FX_RECT), use the FPDFBitmap_Destroy(IntPtr) function to close the handle.
Remarks
Caution note  Caution
The bitmap can be FXDIB_Argb only.
See Also