Platform SDK: Performance Monitoring

CounterItem.Width

Retrieves or sets the width of the line, in pixels, used to display a counter value in a graph. This is a read/write property.

Public Property Width(
  value as Long
as Long

Parameters

value
[in] Specifies the line width in pixels. The values of this parameter range from 1 to 9, where 1 (the default value) is the narrowest width.

Remarks

The specified line widths appear in the Visual Basic Editor in the Width combo box.

Return Values

The current line width.

Example

Dim ctrItem as CounterItem
ctrItem.Width=2

Requirements

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

See Also

System Monitor Automation Interface Overview, System Monitor Automation Interface Properties