RGB Property

Microsoft Graph Visual Basic

RGB Property

       

Returns the red-green-blue value of the specified color. Read-only Long.

Example

This example sets the color of the legend font to the foreground fill color of the plot area.

myChart.Legend.Font.Color = _
    myChart.PlotArea.Fill.ForeColor.RGB