IContourLevel.DefaultPen
IContourLevel
property DefaultPen: WordBool;
Type Library
TeeChartx
Description
Returns True when this level has no special custom pen.
By default all levels have no custom pen, that is, they use the Contour series pen property to draw all levels with the same pen.
As soon you change a level Pen property, this function returns False.
Series1.Levels(0).Pen.Color = vbRed
To use the default series pen, set pen to "nil" :
Series1.Levels(0).Pen = nil