Editions
Related Functions
Example
The IN_SetScanDlgControlState function sets the status of the specified setting (or "control") in the active Scan dialog box. You can use it to customize the availability of scan options.
This command is normally used after the File, Scan command is intercepted. The options set by this function are not saved. They are only valid as long as the Scan dialog box is displayed, and are lost after the dialog box is closed.
Syntax
int IN_SetScanDlgControlState( parameterID, pStatus )
|
Parameters |
Values |
Meaning |
|
SHORT parameterID |
identifier of the scan parameter to set. See Scan dialog box settings. | |
|
CHARPTR pStatus |
"ACTIVE" the setting's value can be changed "INACTIVE" the setting is dimmed, so its value cannot be changed "VISIBLE" the setting is displayed "INVISIBLE" the setting is not displayed (can be concatenated) ###### OFF ON "" TOGGLE PORTRAIT LANDSCAPE INCHES Units are inches CENTIMETERS Units are centimeters PIXELS Units are pixels ADAPTIVE AREA MANUAL Thresholding type is Manual AUTO Thresholding type is Automatic FRONT BACK NONE 0 image is rotated 0° 90 image is rotated 90° 180 image is rotated 180° 270 image is rotated 270° | |
Remarks
The pStatus values are case-sensitive.
Release information
Added to Imagenation for Windows in Release 4.20.
Published in Release 5.10.
Not supported in Imagenation for UNIX.
See also