MajorLine Property
The MajorLine property returns an AutoLine object to adjust tick mark or grid line properties. This is a read-only property.
Syntax
object.MajorLine
object.MajorLine =MajorLine
Example 1
This example shows how to change the color of a grid line.
Set GridXMajorLine = GridX.MajorLine
GridXMajorLine.foreColor = RGB(0,30,45)
Example 2
This example shows how to change the color for the major tick mark lines.
TickMarks.MajorLine.foreColor = grfColorMagenta
Used by: AutoAxisGrid object, AutoAxisTickMarks object