EZTwainX Scan sub-object
The EZTwainX.Scan sub-object offers specialized scanning properties and methods. Scan objects cannot be created, they can only be accessed as part of an EZTwainX control, using the Scan property of the control - for example,
EZTwain.Scan.PixelType = EZTwain.PT_BW
EZTwain.Scan.DPI = 200
| Scan Object | ||||
| Properties | ||||
| AutoNegate | bool | Automatically negate any image that is 'too black'. Default=true. | 1.57 | |
| Brightness | double | Scanning brightness adjustment (-1000 to +1000) | 1.64 | |
| Contrast | double | Scanning contrast adjustment (-1000..+1000) | 1.64 | |
| DPI | long | Resolution in dots-per-inch. | 1.57 | |
| Duplex | long | 0=simplex scanning, 1=duplex, -1=don't care. Default=-1. |
1.57 | |
| Feeder | long | 0=scan from platen, 1=from feeder, -1=don't care. Default=-1. | 1.57 | |
| PaperSize | PaperSize | Default=PS_ANY (no preference) | 1.57 | |
| PixelType | PixelType | Default=PT_NONE (no preference) | 1.57 | |
| SourceDevice | string | Name of device to use. | 1.57 | |
| UseUI | bool | Display the scanner's user interface during scanning. Default=true. | 1.57 | |
| Methods | ||||
| Close() | Close the currently open device, if any | 1.57 | ||
| IsFeederLoaded() => bool | Query the current device, return true if there is paper in the feeder. | 1.57 | ||