SetLabelColor Method

3D Graph Control

SetLabelColor Method

Syntax

CWContours.SetLabelColor LabelColor

Purpose

Sets the label color for all contours in the collection.

Remarks

Contour labels are available only if the plot style is set to Contour in the property pages or set programmatically to cwContourLine on the Style property of the Plots object.

Parameters

LabelColor As Color

The new label color.

Example

'Set the plot style to contour
CWGraph3D1.Plots(1).Style = cwContourLine
'Set the label color to blue
CWGraph3D1.Plots(1).Contours.SetLabelColor vbBlue

See Also

CWContour.LabelColor