ImageGear Professional v18 for Mac
IG_dspl_DDB_import

This function imports a HBITMAP into a HIGEAR instance.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_dspl_DDB_import(
       HDC hDC,
       HBITMAP hBitmap,
       HPALETTE hPalette,
       LPHIGEAR lphIGear
);

Arguments:

Name Type Description
hDC HDC HDC to use when processing the hBitmap. For Mac OS X, it is not used.
hBitmap HBITMAP HBITMAP to import to the HIGEAR instance. For Mac OS X, HBITMAP is CGImageRef object.
hPalette HPALETTE HPALETTE of the specified hBitmap. For Mac OS X, this parameter should be NULL.
lphIGear LPHIGEAR HIGEAR instance to which the hBitmap will be imported.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

To determine the number of errors currently on the error stack use IG_error_check. After fetching all error information you need using IG_error_get, use IG_error_clear to clear the stack.

Supported Raster Image Formats:

This function does not process image pixels.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback