This property sets whether native, file, or memory transfer is used.
imagekitcontrolname.GetScan().SetTransferMode(long Val)
Property Value
Value | Explanation |
---|---|
0 | Native (Transferred as DIB) Default |
1 | File |
2 | Memory (Transferred in block units) |
3 | File 2 (NOT SUPPORTED BY THE ImageKit8) *1 |
*1 The ImageKit does not support transfer methods 3. This value is listed here simply because they exist in TWAIN specifications.
In Visual Basic the following constants can be used: (ikScanNative = 0, ikScanFile = 1, ikScanMemory = 2, ikScanFile2 = 3)
Explanation
The TransferMode property sets whether native, file, or memory transfer is used. The default value is 0 (ikScanNative). It is necessary to set this property prior to executing the Exec or the ExecVariant method. The possible transfer methods supported by a scan device can be retrieved using the GetCapEnum or the GetCapEnumVariant method. Scanning events are generated for the memory transfer mode only.
Setting this value
This value can be set at runtime.
Retrieving this value
This value can be retrieved at runtime.