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

This function creates a window with a list of multi-page image pages and corresponding pages from the associated file.

Declaration:

 
Copy Code
HWND ACCUAPI IG_gui_mp_file_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.

Sample:

MFC Multipage

Example:

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

Remarks:

This function allows you to perform operations either with the image and/or the associated file.

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