MajorTickType Property

MajorTickType returns or sets the major tick type. The ticks are drawn inside, outside, or across the axis line. Returns a SrfTickType.

Syntax

object.MajorTickType

object.MajorTickType = Type

Parameter

Type

Description

Type

SrfTickType

required

Example 1

This example demonstrates how to return the major tick type.

Debug.print Axis.MajorTickType

Example 2

This example demonstrates how to set major ticks to cross an axis.

Axis.MajorTickType = srfTickCross

Used by: Axis object