LabelFormat Property

3D Graph Control

LabelFormat Property

Syntax

CWContour.LabelFormat

Data Type

String

Purpose

Specifies the format string for formatting the label on this contour.

Remarks

This format string behaves exactly like the CWAxis3D.FormatString with one added feature: Each "%level" substring inside of quotes is replaced with the contour index.

Example

'Up to two digits to the right of the decimal on
'  the first contour line label
CWGraph3D1.Plots.Item(1).Contours.Item(1).LabelFormat = ".##"
'Display the index on the second contour line label
CWGraph3D1.Plots.Item(1).Contours.Item(2).LabelFormat
    = chr(34) + " Index = %level" + chr(34)

See Also

CWAxis3D.FormatString