[Visual
Basic] imagekitcontrolname_Scanning(ByVal
Percent As Integer)
[Visual
C++] OnScanningimagekitcontrolname(short
Percent)
[VB.NET] imagekitcontrolname_Scanning(ByVal
sender As System.Object, ByVal e As
AxImageKit10(A)Lib._IImageKitEvents_ScanningEvent)
[C#.NET] imagekitcontrolname_Scanning(object
sender, AxImageKit10(A)Lib._IImageKitEvents_ScanningEvent e)
AxImageKit10ALib refers to the ANSI version, AXImageKit10Lib refers to the Unicode version.
Parameters
Name | Explanation |
---|---|
Percent | Refers to the percent of scan completed (0`100%) |
* The second parameter in VB.NET/C#.NET is e and it contains the Percent argument. (the first letter is lower case)
Explanation
The Scanning event is generated when an image is being scanned by the scan device.
The Scanning event is only enabled when using memory transfer. It is not generated when native transfer or file transfer is used. Also, when memory transfer is used, if compression is used and the BeforeScan event's Width and Height parameters have a value of -1, then the Scanning event is not generated.
To cancel, set the Scan.Cancel property to True within this event.