Visual Basic (Declaration) | |
---|---|
Public Class DocumentProgressEventArgs Inherits EventArgs |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class DocumentProgressEventArgs : EventArgs |
C++/CLI | |
---|---|
public ref class DocumentProgressEventArgs : public EventArgs |
For an example, refer to DocumentWriter.Progress.
The DocumentWriter.Progress event allows you to monitor the progress of a document writer operation as well as cancel the operation if required. This event occur when calling the following methods of the DocumentWriter class:
The DocumentProgressEventArgs class contains the following:
DocumentProgressEventArgs.Percentage property. The value of this property will go from 0 to 100 during an operation. This property is read-only. DocumentProgressEventArgs.Cancel property. Setting the value of this property to true will cancel the current operation.
System.Object
System.EventArgs
Leadtools.Forms.DocumentWriters.DocumentProgressEventArgs
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family