ImageGear for C and C++ on Windows v20.1 - Updated
IG_gui_mp_page_select_dlg
API Reference Guide > GUI Component API Reference > GUI Component Functions Reference > Multi Page Functions > IG_gui_mp_page_select_dlg

This function shows the dialog that allows you to select a page from a multi-page image.

Declaration:

 
Copy Code
BOOL ACCUAPI IG_gui_mp_page_select_dlg(
        HWND hWnd, 
        HMIGEAR hMImage, 
        UINT nPWidth, 
        UINT nPHeight, 
        LPUINT lpnPage 
);

Arguments:

Name Type Description
hWnd HWND A handle of the parent window.
hMImage HMIGEAR A handle of a multi-page image.
nPWidth UINT A page width.
nPHeight UINT A page height.
lpnPage LPUINT A page number that was selected.

Return Value:

Returns FALSE if either GUI dll handle or MP image are invalid, or if the Cancel button has been pressed on the dialog.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

MFC Multipage

Is this page helpful?
Yes No
Thanks for your feedback.