This class provides data of the BeforeScan event.
[Visual Basic]
Public Class BeforeScanEventArgs Inherits System.EventArgs
This class provides data of the BeforeScan event.
[Visual Basic]
Public Class BeforeScanEventArgs Inherits System.EventArgs
[C#]
public class BeforeScanEventArgsFSystem.EventArgs
Property | Type | Explanation |
---|---|---|
![]() |
[Visual Basic] Integer [C#] int |
Retrieves the image bitcount. Scanning in 12 or 14 bit grayscale results in 16 bit grayscale. Scanning in 36 or 42 bit color results in 48 bit color. |
![]() |
[Visual Basic] Boolean [C#] bool |
Sets whether or not the scan process is canceled. By setting this property to True, the process can be canceled. |
![]() |
Newtone.ImageKit.ScanCompression | Sets the compression method used when an image is transferred via memory |
![]() |
[Visual Basic] Integer [C#] int |
The height of the image that will be transferred in pixels |
![]() |
[Visual Basic] Integer [C#] int |
Refers to the number of images that have been scanned |
![]() |
Newtone.ImageKit.ScanPixelType | Sets the type of image scanned |
![]() |
[Visual Basic] Integer [C#] int |
The width of the image that will be transferred in pixels |
![]() |
[Visual Basic] Single [C#] float |
Sets the horizontal scan resolution *1 |
![]() |
[Visual Basic] Single [C#] float |
Sets the vertical scan resolution *1 |
*1
Although the TWAIN specifications allow scan units to be inches or centimeters, depending on the datasource (scan device) the scan units settings are ignored and DPI is used. Furthermore, if scan units are set to pixels, there are cases where the datasource will return a value of 1 as these resolution properties.
Scan Class | Scan Members
The ImageKit.NET X is created by Newtone Corporation