|
|
|
|
|
ScanCapability (Function) In french: ScanCapacité Used to determine if a scanner has a given capability. MyScanner is Scanner  // Indicates whether the scanner supports duplex scanning Duplex is boolean = ScanCapability(MyScanner, scanCapabilityDuplex)
Syntax
<Result> = ScanCapability(<Scanner> , <Capacity>)
<Result>: Boolean - True if the scanner has the given <Capability>,
- False otherwise. If an error occurs, the ErrorOccurred variable is set to True and ErrorInfo returns the corresponding error message.
<Scanner>: Scanner variable Name of the Scanner variable initialized with the information of the scanner for which we want to get the capability. <Capacity>: Integer constant Information required about the scanner's capability:
| | scanCapabilityDuplex | Determines if the scanner supports duplex scanning. | scanCapabilityFeeder | Determines if the scanner has a feeder. | scanCapabilityFlatbed | Determines if the scanner has a flatbed. |
Remarks You can also get the capabilities of a scanner with ScanProperty. This function returns a combination of constants that correspond to the capabilities of the scanner. ScanCapability simplifies the code used to indicate whether the scanner has a given capability.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|