Table of Contents

Constructor ProgressEventArgs

Namespace
PaintDotNet
Assembly
PaintDotNet.Fundamentals.dll

ProgressEventArgs(double)

Creates an instance of this class.

public ProgressEventArgs(double percent)

Parameters

percent double
A value between 0 and 100 indicating the percentage of completion. . This value will be clamped to the valid range of [0, 100].

ProgressEventArgs(double, bool)

Creates an instance of this class.

public ProgressEventArgs(double percent, bool clamp)

Parameters

percent double
A value between 0 and 100 indicating the percentage of completion.
clamp bool

Whether to clamp the percent to the valid range of [0, 100].