LabelOffset Property

LabelOffset returns or sets the axis or scale label offset from the axis in page units. Returns a double.

Syntax

object.LabelOffset

object.LabelOffset = Off

Parameter

Type

Description

Off

Double

Required. Returns/sets the axis or scale label offset from the axis in page units.

Example 1

This example demonstrates how to return the label offset from the X axis in page units.

Debug.Print Axis.LabelOffset

Example 2

This example demonstrates how to shift the axis label 0.2 page units away from the X axis.

Axis.LabelOffset = 0.2

Example 3

This example shows how to move the scale label 2.5 centimeters from the axis.

scale.LabelOffset = 2.5 'cm

Used by: Axis object, ScaleBar object