ImageGear for C and C++ on Windows v19.7 - Updated
LPFNIG_LOAD_DISP
API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_LOAD_DISP

This function is called by IG_load_file_display() after it has loaded the image and assigned to it a HIGEAR handle, but before it has displayed the image.

Declaration:

 
Copy Code
typedef VOID (ACCUAPI LPFNIG_LOAD_DISP) (
        LPVOID lpPrivate, 
        HIGEAR hIGear
);

Arguments:

Name Type Description
lpPrivate LPVOID Far pointer to private data area you provided in your call to IG_load_file_display() function.
hIGear HIGEAR HIGEAR handle assigned to the image just loaded.

Return Value:

None

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Sample:

Display

Example:

See the Example code in the section Working with ImageGear Callback Functions.

Remarks:

Using the HIGEAR handle supplied to you in this call, you can set the image and device rectangles, set display attributes, and perform other operations you choose, prior to returning. Upon your return, IG_load_file_display() will continue and will display your image, line by line, using the settings you have made.