GlobalConfig ClassTerminal Works - TwainScanning.Net Library
Class for setting global configuration, like license details and forcing 64-bit drivers.
Inheritance Hierarchy

SystemObject
  TwainScanningGlobalConfig

Namespace: TwainScanning
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.4.3.0 (1.4.3.0)
Syntax

public static class GlobalConfig

The GlobalConfig type exposes the following members.

Methods

  NameDescription
Public methodStatic memberSetLicenseKey
The SetLicenseKey method is used to set Licensing Information provided by Terminalworks Ltd.
Top
Properties

  NameDescription
Public propertyStatic memberForce64BitDriver
In 64-bit applications when scanning with device which has a 64-bit driver this needs to be set to , otherwise leave it as .

Note: Whenever changed, the DataSourceManager must be reinstantiated for the change to take effect.

Public propertyStatic memberIs64BitProcess
Indicates if current process is a 64-bit process.
Public propertyStatic memberMaxBMPResolution
Scanning as BMP is very memory consuming, and it is recommended to lower DPI resolution as much as possible. Default is 1200, but recommended is 200 or 300 DPI. This property doesn't have effect on other image formats, it is only for BMP format.
Public propertyStatic memberUseMemoryOptimization
If true, it will use less memory but it will be slower. Default is false. Recommened to set to true when working with high DPI.
Public propertyStatic memberUseTempFiles
Top
See Also

Reference