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

A callback function that calculates the number of pages in a file.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI FNIGGUI_PAGE_COUNT_GET(
    LPVOID lpPrivate, 
    LPUINT lpnPageCount
);

Arguments:

Name Type Description
lpPrivate LPVOID A file name.
lpnPageCount LPUINT A pointer to a variable that will receive the number of pages in the file.

Return Value:

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

Supported Raster Image Formats:

This function does not process pixels

Sample:

GUI