ScanSource Object (IScanSource Interface)
This object exposes a set of properties and methods concerned with scanning source.
Properties
Name | Type | Description |
---|---|---|
Application | Engine, read-only | Returns the Engine object. |
ApiType | ScanSourceApiTypeEnum, read-only | Returns the API type used by the scanning source (TWAIN or WIA). |
AvailableUserInterfaceTypes | int, read-only | Describes the possible types of user interface for setting scanning options as a bitwise OR of ScanSourceUITypeEnum constants. |
Capabilities | ScanSourceCapabilities, read-only | Returns the settings that are supported by the scanning source. |
Name | BSTR, read-only | Returns the name of the scanning source. |
ScanSettings | ScanSourceSettings, read-only | Returns the current settings of the scanning source. |
Status | ScanSourceStatusEnum, read-only | Returns the current status of the scanning source. |
Methods
Name | Description |
---|---|
BeginScan | Starts an asynchronous scanning operation. |
CancelScan | Allows you to cancel an asynchronous scanning operation. |
ResetSettings | Resets scanning source settings to default values. |
Scan | Performs scanning of one or several images. |
Related objects
Samples
This object is used in the Scanning code sample.
See also
9/17/2024 3:14:40 PM