←Select platform

AcquireFileEvent Event

Summary

Occurs for each page acquired from the currently selected WIA source using the AcquireToFile method and it will also get called for each end of page to provide the user with the EndOfPage flag through the Flags member of the WiaAcquireFileEventArgs event argument to indicate the end of each page transfer.

Syntax

C#
VB
C++
public event EventHandler<WiaAcquireFileEventArgs> AcquireFileEvent 
  
Public Event AcquireFileEvent As EventHandler(Of WiaAcquireFileEventArgs) 
public: 
event EventHandler<WiaAcquireFileEventArgs^>^ AcquireFileEvent 

Event Data

The event handler receives an argument of type WiaAcquireFileEventArgs containing data related to this event. The following WiaAcquireFileEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Aborts the acquire operation.
FileName Indicates the full filename and path into which the current scanning operation is saving the page(s) that are being acquired.
Flags Indicates the start and the end of each acquired page.
Percent Indicates the percent completion of the acquisition process from the WIA source.
Remarks

If the user acquired several pages at the same time, a separate event occurs for each page.

For more information, refer to How to Acquire from the WIA Source.

Example

Refer to WiaSession.AcquireToFile.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly