Click or drag to resize

StatusBarUpdateProgressMeter Method (UInt32, String, Int32, Boolean)

Sets the label and current position of Rhino's status bar progress meter.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.6
Syntax
public static int UpdateProgressMeter(
	uint docSerialNumber,
	string label,
	int position,
	bool absolute
)

Parameters

docSerialNumber
Type: SystemUInt32
The document runtime serial number.
label
Type: SystemString
The short description of the progress (e.g. "Calculating", "Meshing", etc)
position
Type: SystemInt32
The new value. This can be stated in absolute terms, or relative compared to the current position. The interval bounds are specified when you first show the bar. Note, if value is , only the label is updated.
absolute
Type: SystemBoolean
If true, then the progress meter is moved to position. If false, then the progress meter is moved position from the current position (relative).

Return Value

Type: Int32
The previous position if successful.
See Also