ImageGear for C and C++ on Windows v19.6 - Updated
IG_gui_mp_image_wnd
API Reference Guide > GUI Component API Reference > GUI Component Functions Reference > Multi Page Functions > IG_gui_mp_image_wnd

This function creates a window with a list of multi-page image pages and allows you to perform operations with its pages.

Declaration:

 
Copy Code
HWND ACCUAPI IG_gui_mp_image_wnd(
        HWND hWnd, 
        HMIGEAR hMImage, 
        UINT nPWidth, 
        UINT nPHeight 
);

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.

Return Value:

Returns a handle of the created window or if the function fails, the return value is NULL.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
#include "IG_gui_common.h"
IG_gui_mp_image_wnd (hWnd, hMImage, nPWidth, nPHeight);

Sample:

MFC Multipage