This function creates a list of applicable compressions for a given list of associated multi-page image pages and returns the selected value.
Declaration:
|
Copy Code
|
BOOL ACCUAPI IG_gui_mp_savecomp_dlg(
HWND hWnd,
HMIGEAR hMImage,
LPUINT lpnPages,
UINT nPageCount,
LPAT_MODE lpnCompression
);
|
Arguments:
Name |
Type |
Description |
hWnd |
HWND |
HWND to the window to use as the parent for the dialog that this function creates. |
hMImage |
HMIGEAR |
HMIGEAR for the image from which the list of applicable compressions is created. |
lpnPages |
LPUINT |
Array of page indexes in hMImage from which to create the list of compressions. |
nPageCount |
UINT |
Number of paged specified in lpnPages. |
lpnCompression |
LPAT_MODE |
Pointer to receive the selected the compression value. |
Return Value:
Returns FALSE in the following cases:
- GUI dll has not been loaded
- MP image is invalid
- Cancel button has been pressed
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
None
Example:
|
Copy Code
|
#include "IG_gui_common.h"
IG_gui_mp_savecomp_dlg(HWND hWnd, HMIGEAR hMImage, LPUINT?lpnPages, UINT nPageCount,
LPAT_MODE lpnCompression );
|