This class exposes properties for the BeforeScan event.
[Visual Basic] Public Class
BeforeScanEventArgs Inherits System.EventArgs
[C#] public class
BeforeScanEventArgsFSystem.EventArgs
Explanation
Property | Type | Explanation |
---|---|---|
![]() |
[Visual Basic] Integer [C#] int |
Retrieves the number of bits per pixel. Note: 12 and 14 grayscale will be resolved to 16 bits; 36 and 42 bit color will be resolved to 48 bits. |
![]() |
[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 in these resolution properties.