MajorFormat Property

The MajorFormat property returns an AutoLabelFormat object for the axis major tick labels. This is a read-only property.

Syntax

object.MajorFormat

object.MajorFormat =MajorFormat

Example

This example shows how to add a prefix to the major tick labels.

TickLabels.MajorFormat.prefix = "pre-"

 

Used by: AutoAxisTickLabels object