ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / GUI Component API Reference / GUI Component Callback Functions Reference / FNIGGUI_PAGE_INFO_GET
In This Topic
    FNIGGUI_PAGE_INFO_GET
    In This Topic

    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