Interface IScanProfile
Describes the characteristics of a scan operation.
Properties list
Methods list
Properties
customData
Declaration
readonly customData: Blob;
Property Value
| Type | Description |
|---|---|
| Blob |
name
Declaration
readonly name: string;
Property Value
| Type | Description |
|---|---|
| string |
scanner
Declaration
readonly scanner: string;
Property Value
| Type | Description |
|---|---|
| string |
source
Declaration
readonly source: ScanSource;
Property Value
| Type | Description |
|---|---|
| ScanSource |
Methods
getCustomData()
Returns scanner custom data. This is binary data read from the TWAIN interface and used to initialize the scanner.
Declaration
getCustomData(): Blob;
Returns
| Type | Description |
|---|---|
| Blob | scanner custom data |
getName()
Returns the name of this Scan Profile.
If this is the default Scan Profile that gets created automatically, then this method will return "Default Scan Profile". This will return the same String that is displayed on the ImageTrust client bar, when this Scan Profile is used.
Declaration
getName(): string;
Returns
| Type | Description |
|---|---|
| string | the name of this Scan Profile |
getScanner()
The name of the scanner of this Scan Profile
Declaration
getScanner(): string;
Returns
| Type | Description |
|---|---|
| string |
getSource()
Returns the scan source for this Scan Profile.
Declaration
getSource(): ScanSource;
Returns
| Type | Description |
|---|---|
| ScanSource | the scan source for this Scan Profile |