MajorLine Property

MajorLine returns the LineFormat object for the major contour lines with the Simple or Logarithmic level method. This is a read-only property.



Example 1

This example demonstrates how to return the line color of the major contour lines.

Debug.Print ContourLayer.MajorLine.ForeColor

Example 2

This example demonstrates how to change the line color to brown.

ContourLayer.MajorLine.ForeColorRGBA.Color = srfColorBrown

Used by: ContourLayer Object