CounterItem.ScaleFactor property

Retrieves or sets the scale factor used to graph the counter value.

This property is read/write.

Syntax

Property ScaleFactor As Long

Property value

Scale factor used in displaying the graphed counter values. Valid values range from -9 to 9 (the values correspond to 0.000000001 - 100000000.0).

Prior to Windows Vista: Valid values range from -7 to 7 (the values correspond to 0.0000001 - 1000000.0).

Remarks

Only set this property if you want to change the counter's default scale factor (each counter defines its own scale factor). The value of this property is set to Integer.MaxValue if the counter is using its default scale factor to graph the values.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
DLL
Sysmon.ocx

See also

CounterItem

SystemMonitor.ScaleToFit