Axis Property

Axis returns or sets the axis that the scale bar is linked to. Returns a SrfTrackingAxis.

Syntax

object.Axis

object.Axis = Axis

Parameter

Type

Description

Axis

SrfTrackingAxis

required

Example 1

This example demonstrates how to return to which axis a scale bar is linked.

Debug .Print ScaleBar.Axis

Example 2

This example demonstrates how to link a scale bar to an axis.

ScaleBar.Axis = srfTrackX

Used by: ScaleBar object