FPDFImageObj_SetBitmap function
- @Native<FPDF_BOOL Function(Pointer<
FPDF_PAGE> , Int, FPDF_PAGEOBJECT, FPDF_BITMAP)>(ffi.Pointer<FPDF_PAGE>, ffi.Int, FPDF_PAGEOBJECT, FPDF_BITMAP)>()
- Pointer<
FPDF_PAGE> pages, - int count,
- FPDF_PAGEOBJECT image_object,
- FPDF_BITMAP bitmap,
Set |bitmap| to |image_object|.
pages - pointer to the start of all loaded pages, may be NULL. count - number of |pages|, may be 0. image_object - handle to an image object. bitmap - handle of the bitmap.
Returns TRUE on success.
Implementation
@ffi.Native<
FPDF_BOOL Function(
ffi.Pointer<FPDF_PAGE>,
ffi.Int,
FPDF_PAGEOBJECT,
FPDF_BITMAP,
)
>()
external int FPDFImageObj_SetBitmap(
ffi.Pointer<FPDF_PAGE> pages,
int count,
FPDF_PAGEOBJECT image_object,
FPDF_BITMAP bitmap,
);