MajorLineAuto Property

The MajorLineAuto property returns or sets the axis major tick marks line format. When True, tick marks use same line properties as the axis line. Returns a Boolean.

Syntax

object.MajorLineAuto

object.MajorLineAuto = MajorLineAuto

 

Parameter Type Description
MajorLineAuto Boolean required, True to show tick marks and the axis line with the same properties

 

Example

This example shows how to use a different line style for tick marks than for the axis.

TickMarks.MajorLineAuto = False

 

Used by: AutoAxisTickMarks object