Display scanner driver-specific More dialog box.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_ISIS_drv_set_more( HISISDRV hDriver, HWND hWnd ); |
Arguments:
hDriver | The handle of the driver for which this dialog box is being displayed. |
hWnd | A handle to the parent window. |
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.
Example:
The following example checks for the existence and value of IG_ISIS_TAG_MORE_SETTINGS and then displays the More dialog for drivers which support this feature.
Copy Code | |
---|---|
LONG lValue; // Is More dialog supported? if ( IG_ISIS_tag_get_long(hDriver, IG_ISIS_TAG_MORE_SETTINGS, 0, &lValue) == IGE_SUCCESS ) { // Launch More... dialogIG_ISIS_drv_set_more(hDriver, hWnd); } |
Remarks:
The IG_ISIS_drv_set_more function displays a predefined dialog box that allows the user to access scanner specific settings, such as pagesize detection, barcode recognition, endorsement, gamma correction, and so forth.
Application developers should allow use of this function even if they support some scanner-specific settings explicitly. End users will then be better able to take advantage of new scanner capabilities as these capabilities are released in new scanner drivers. By using the IG_ISIS_drv_set_more function, the new capabilities will appear automatically whenever a new scanner driver is connected.