ImageGear for C and C++ on Windows v20.5 - Updated
IG_GUI_page_count_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Page Functions > IG_GUI_page_count_get

This function returns the total number of pages (images) currently associated with the GUI Page Sorter window referenced by hwndPage. 

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_page_count_get(
        HWND hwndPage, 
        LPUINT lpPageCount
);

Arguments:

Name Type Description
hwndPage HWND Windows handle to the GUI Page Sorter window.
lpPageCount LPUINT A far pointer that returns the total number of pages (images) currently associated with the GUI Page Sorter.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

Page

Example:

Please see the example code under IG_GUI_page_window_create_ex().

Remarks:

Be sure not to confuse this function with the IG_page_count_get_...() functions.
Is this page helpful?
Yes No
Thanks for your feedback.