ImageGear for C and C++ on Windows v19.10 - Updated
FNIGGUI_PAGE_INFO_GET
API Reference Guide > GUI Component API Reference > GUI Component Callback Functions Reference > FNIGGUI_PAGE_INFO_GET

A callback function that retrieves information about a specific page in a file.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI FNIGGUI_PAGE_INFO_GET(
    LPVOID lpPrivate, 
    UINT nPage, 
    LPAT_MODE pnCompression, 
    HIGDIBINFO* lphDIB
);

Arguments:

Name Type Description
lpPrivate LPVOID A file name.
nPage UINT The page in the file to load.
pnCompression LPAT_MODE A pointer to a variable that will receive the compression ID.
lphDIB HIGDIBINFO* A pointer to a variable that will receive the hDIB handle in which the information will reside.

Return Value:

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

Supported Raster Image Formats:

All formats supported by ImageGear.

Sample:

GUI