Platform SDK: Performance Monitoring

SystemMonitor.MaximumScale

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

Public Property MaximumScale( ) as Long

Remarks

The default maximum value of the vertical scale is 100, the lowest value the maximum value can be set to is 1, and the highest is 999,999,999. The MaximumScale value must be at least 1 greater than the MinimumScale value.

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

Return Values

The maximum value of the vertical axis of the graph. If the MaximumScale value is less than (MinimumScale + 1), an error value of PDH_INVALID_ARGUMENT will be returned.

Example

Graph1.MaximumScale=1000

Requirements

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

See Also

System Monitor Automation Interface Overview, System Monitor Automation Interface Properties