This documentation is archived and is not being maintained.

VtColor Object

Visual Studio .NET 2003

Describes a drawing color in a chart.

Syntax

VtColor

Example

The following example sets the fill color for a chart backdrop brush. The FillColor property returns a reference to the VtColor object.

Private Sub Command1_Click()
' Sets Backdrop to Fill - Brush Style.
   MSChart1.Backdrop.Fill.Style = VtFillStyleBrush
   ' Sets chart fill color to red.
   With MSChart1.Backdrop.Fill.Brush.FillColor
      .Red = 255   ' Use properties to set color.
      .Green = 0
      .Blue = 0
   End With
End Sub

See Also

Properties, Methods, and Events

Show: