Cancels the scanning process immediately or waits until the current page is transferred from the scanner before the scanning process is cancelled.
Visual Basic |
---|
Public Sub Cancel( _ Optional ByVal bImmediate As Boolean = True _ ) |
- bImmediate
- A boolean value which is true to immediately cancel the scanning process or false to wait until the current page is transferred from the scanner before the scanning process is cancelled.
If the immediate parameter is true, the Cancel method will immediately cancel the scanning process. This cancellation will occur even if ISIS Xpress is in the middle of transferring data from the scanner.
If the immediate parameter is false, the Cancel method will cause the scanner to wait until the current page is transferred from the scanner before the scanning process is cancelled. If ISX_ScanSetting.ISX_ScanAhead is enabled and the scanner driver supports the ISX_ScanSetting.ISX_ScanAheadPages setting then ISIS Xpress will process those pages that have been scanned ahead, otherwise ISIS Xpress will stop processing all pages.
If the immediate parameter is false, the Cancel method will cause the scanner to wait until the current page is transferred from the scanner before the scanning process is cancelled. If ISX_ScanSetting.ISX_ScanAhead is enabled and the scanner driver supports the ISX_ScanSetting.ISX_ScanAheadPages setting then ISIS Xpress will process those pages that have been scanned ahead, otherwise ISIS Xpress will stop processing all pages.