Class OperationProgressEventArgs
Provides data for the ProgressChanged event.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class OperationProgressEventArgs : EventArgs
Constructors
OperationProgressEventArgs(int, int, string)
Initializes a new instance of the OperationProgressEventArgs class.
Declaration
public OperationProgressEventArgs(int current, int total, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| int | current | The current progress value. |
| int | total | The total progress value. |
| string | message | The progress message. |
Properties
Current
The current progress value (0 to Total).
Declaration
public int Current { get; }
Property Value
| Type | Description |
|---|---|
| int |
Message
A human-readable progress message, or null.
Declaration
public string Message { get; }
Property Value
| Type | Description |
|---|---|
| string |
Percentage
Progress as a percentage (0–100), or 0 when total is 0.
Declaration
public double Percentage { get; }
Property Value
| Type | Description |
|---|---|
| double |
Total
The total work to complete, or 0 when unknown.
Declaration
public int Total { get; }
Property Value
| Type | Description |
|---|---|
| int |