ScaleBars Property

ScaleBars returns the ScaleBars collection. This is a read-only property.

Syntax

object.ScaleBars

Example 1

This example demonstrates how to return the number of scale bars used with a map coordinate system.

MapFrame.ScaleBars.Count

Example 2

This example demonstrates how to add a new scale bar to a map coordinate system.

Dim NewScaleBar As Object

Set NewScaleBar = MapFrame.ScaleBars.Add

Used by: MapFrame object

See Also

Map | Scale Bar