ShowUnitName Property [ScaleBar]

 

The ShowUnitName property returns or sets the scale bar Show unit name option. Returns a Boolean.

 

Syntax

object.ShowUnitName

object.ShowUnitName = ShowUnitName

 

Parameter

Type

Description

ShowUnitName

Boolean

required; true to show the unit type

 

Example 1

This example returns the state of displaying the unit type on a scale bar.

 

Debug.Print ScaleBar.ShowUnitName

 

Example 2

This example displays the unit type on a scale bar.

 

ScaleBar.ShowUnitName = True

 

Used by: ScaleBar object