The Progress Event is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Optional delegate method used after page processing is finished.Visual Basic (Declaration) | |
---|---|
Public Event Progress As EventHandler(Of AutoFormsProgressEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AutoFormsEngine Dim handler As EventHandler(Of AutoFormsProgressEventArgs) AddHandler instance.Progress, handler |
C# | |
---|---|
public event EventHandler<AutoFormsProgressEventArgs> Progress |
C++/CLI | |
---|---|
public: event EventHandler<AutoFormsProgressEventArgs^>^ Progress |
The event handler receives an argument of type AutoFormsProgressEventArgs containing data related to this event. The following AutoFormsProgressEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Cancel the current operation. |
Operation | Gets the current running AutoFormsOperation. |
Percentage | A value between 0 and 100 that represents the percent completion of the process. |
For an example, refer to AutoFormsEngine.ProcessForm(RasterImage form, PageRequestCallback pageRequestCallback, Object userData, FormRecognitionAttributes masterAttributes, FormPages formFields).
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7