Platform SDK: Performance Monitoring

SystemMonitor.MinimumScale

Retrieves or sets the minimum value of the vertical axis of the graph. This is a read/write property.

Public Property MinimumScale( ) as Long

Remarks

The default minimum value of the vertical scale is 0, and the maximum value is 999,999,998, or 1 less than the maximum value of MaximumScale. The value set by this property cannot be a negative number.

The control automatically adjust the numbers displayed in the vertical scale according to the size of the displayed control.

Return Values

The minimum value of the vertical axis of the graph. If the value of MinimumScale is greater than (MaximumScale - 1), an error value of PDH_INVALID_ARGUMENT will be returned.

Example

Graph1.MinimumScale=50

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Smonctrl.odl.

See Also

System Monitor Automation Interface Overview, System Monitor Automation Interface Properties