EZTwainX Events
See also: getting started, properties, methods, deployment
This Event | Is Fired When... | |
---|---|---|
AcquireDone | ...any Acquire- method completes successfully. | 1.32 |
ActiveImageChanged | ...the current (active) image changes appearance or properties. | 1.32? |
Click | ...the user clicks on the EZTwainX control, either right- or left-click. | 1.32 |
Error(scode, sDescription, uHelpID) | ...the control detects an error. These are conventional errors like bad parameter values, file I/O errors, and so on. Problems when negotiating with a TWAIN device are signaled with a different event. | 1.32 |
ImageAcquired | ...an image has just been appended to the control during scanning. | 1.81 |
PageCount(n) |
...the value of the PageCount property changes. Replaced by PageCountChanged in 1.43 | 1.32-1.42 |
PageCountChanged(n) | ...the value of the PageCount property changes. n is (new) number of pages stored by the control. Note: In certain cases this will be fired when the value 'could have' changed, even though the actual value did not change. Note: When loading a multipage file or scanning multiple pages this event is fired after each new page is added. | 1.43 |
PageIndex(i) | ...the PageIndex property changes. Replaced by PageIndexChanged in 1.43 | 1.32-1.42 |
PageIndexChanged(i) | ...the PageIndex property changes. | 1.43 |
RectangleSelected (x,y,w,h) |
...the user finishes selecting a rectangle using the Rectangle Selection tool. The top-left corner of the selection is at (x,y) and it is w pixels wide and h pixels high. Coordinates are in image pixels where (0,0) is top-left corner. | 1.51 |
ServerResponse(s) | ...the server responds (with string s) to an upload job | 1.65 |
TwainStateChanged | ...the TwainState (AKA scan.TwainState) property has just changed value | 1.81 |
UploadFile(fn) | ...uploading of a file starts, as part of an upload job. fn = filename | 1.65 |
UploadFinish | ...uploading of a job finishes (server has not yet responded) | 1.65 |
UploadStart | ...an upload job is started | 1.65 |
ZoomChanged | ...the ZoomFactor property changes. | 1.44 |
Examples
VBScript |
|