Class used to simplify passing all scan settings when scanning. Most settings are optional,
leave individual settings null/empty if they should not be changed or if the current device value should be used.
Inheritance Hierarchy
TwainScanning.Bridgex86ScanSettings
Namespace: TwainScanning.Bridgex86
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.4.3.0 (1.4.3.0)
Syntax
The ScanSettings type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ScanSettings | Initializes a new instance of the ScanSettings class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AutoFeed |
Should auto feed be used.
If not set, the device default value will be used.
Note: When not using Bridgex86, same as using [!:DataSource.Settings.Feeder.Autofeed].
| |
| AutomaticBorderDetection |
Should automatic border detection be used.
If not set, the device default value will be used.
Note: When not using Bridgex86, same as using [!:DataSource.Settings.AutomaticAdjustments.AutomaticBorderDetection].
| |
| Brightness |
The brightness to use when scanning.
If not set, the device default value will be used.
Note: When not using Bridgex86, same as using [!:DataSource.Settings.ImageAcquire.Brightness].
| |
| CloseUIAfterAcquire |
Close scan window provided by the device or leave it shown.
If not set, will be used.
| |
| ColorMode | ||
| Contrast |
The contrast to use when scanning.
If not set, the device default value will be used.
Note: When not using Bridgex86, same as using [!:DataSource.Settings.ImageAcquire.Contrast].
| |
| Device |
Device to use to perform the scan operation.
If not set, the default device will be used.
| |
| DuplexEnabled | ||
| IgnoreBlankPages |
Should blank pages be ignored during scanning.
If not set, the device default value will be used.
Note: When not using Bridgex86, same as using [!:DataSource.Settings.AutomaticAdjustments.AutoDiscardBlankPages].
| |
| ImageCount |
Maximum number of images to acquire (-1 acquires all available images, 0 is treated as -1).
If not set, the device default value will be used.
Note: When not using Bridgex86, same as using count parameter in Acquire() and AcquireAsync() methods or
[!:DataSource.Settings.Transfer.ImageCount].
| |
| ImageQuality |
Which quality to use for scanned images, value clamped between 10-100.
Only applied when using the following file formats: PDF, JPEG, PNG. And requires TransferMechanism to be
set to Native or Memory.
If not set, the TwainScanning default value will be used.
| |
| MultiPageScan |
If scanning to TIFF or PDF, should scanned images be placed into a multi-page file.
If not set, the TwainScanning default value will be used.
| |
| OutputFileNamesList |
Absolute paths for files to acquire to.
Use when specific custom names are required for scan result files.
Always provide at least as many as there are items to scan, having more is acceptable, but less is not.
Supported file formats: TIFF (default if extension not specified), PDF, JPEG, BMP, PNG.
Use same file format for all files, mixing formats is not supported.
If set, the file name parameter specified in Acquire(String, ScanSettings) will be ignored (mutually exclusive).
Note: When not using Bridgex86, same as using IEnumerable string parameter in any SaveAllTo*() method of an ImageCollector.
| |
| PageSize | ||
| PdfProtection |
If scanning to PDF, which protection settings to set.
Only applied when using PDF file format. And requires TransferMechanism to be
set to Native or Memory.
If not set, the scanned PDF document will not be protected.
| |
| Resolution |
Resolution at which to scan.
If not set, the device default value will be used.
Note: When not using Bridgex86, same as using [!:Settings.Resolution.X] and
[!:Settings.Resolution.Y] or
the alias Resolution.
| |
| Rotation |
How to rotate the image after scanning.
If not set, the device default value will be used.
Note: When not using Bridgex86, same as using [!:DataSource.Settings.ImageAcquire.Rotation].
| |
| ShowUI |
Show scan window provided by the device or scan without showing it.
If not set, will be used.
| |
| Threshold | ||
| TiffImageQuality |
Which quality to use for scanned images.
Only applied when using TIFF file format. And requires TransferMechanism to be
set to Native or Memory.
If not set, the TwainScanning default value will be used.
| |
| TransferMechanism |
Transfer mechanism used to perform the scan operation.
If not set, Native will be used.
Note: When not using Bridgex86, same as using [!:DataSource.Settings.Transfer.Mechanism] or
the alias TransferMechanism.
|
See Also