Platform SDK: Performance Monitoring

SystemMonitor.DisplayType

Retrieves or sets the view type (histogram, graph, or report) of the control. This is a read/write property.

Public Property DisplayType( ) as Integer

Remarks

You can set DisplayType to the following values.

Constant (value) Meaning
sysmonHistogram (0) The view type is histogram.
sysmonLineGraph (1) The view type is line graph. (default)
sysmonReport (2) The view type is report.

Return Values

Either sysmonHistogram (0), sysmonLineGraph (1), or sysmonReport (2). These values are defined in the DisplayTypeConstants enumeration.

Example

Graph1.DisplayType=sysmonGraph
if (sysmonGraph=Graph1.DisplayTypes) then
    …
endif

Requirements

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

See Also

System Monitor Automation Interface Overview, System Monitor Automation Interface Properties