|
|
|
|
<Scanner variable>.Capability (Function) In french: <Variable Scanneur>.Capacité Used to determine if a scanner has a given capability. MyScanner is Scanner // Indicates whether the scanner supports duplex scanning Duplex is boolean = MyScanner.Capability(scanCapabilityDuplex)
Syntax
<Result> = <Scanner>.Capacity(<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 <Scanner variable>.Property. This function returns a combination of constants that correspond to the capabilities of the scanner. <Scanner variable>.Capability simplifies the code used to indicate whether the scanner has a given capability.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|