IDrawingProgress Interface

KGy SOFT Drawing Libraries Help
Represents a provider for progress updates for drawing operations.

Namespace:  KGySoft.Drawing
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 5.3.0
Syntax

public interface IDrawingProgress : IProgress<DrawingProgress>

The IDrawingProgress type exposes the following members.

Methods

  NameDescription
Public methodComplete
Indicates that a progress value of the last New or Report method should be set to the maximum value. It is not needed to be called at the end of each sessions.
Public methodIncrement
Indicates a progress update of a single step. Expected to be called after the New or Report methods with nonzero maximum steps but should not be sensitive for concurrency racing conditions.
Public methodNew
Indicates that a new progress session is started that consists of maximumValue.
Public methodReport
Reports a progress update to any arbitrary state. For parallel operations it is recommended to use the Increment method after starting a new progress because this method cannot guarantee that CurrentValue will be a strictly increasing value when called from Parallel members, for example.
Public methodSetProgressValue
Indicates that the current progress is at a specific position.
Top
See Also

Reference