Style Property [ScaleBar]

 

The Style property returns or sets the scale bar style. Returns a MVScaleBarStyle.

 

Syntax

object.Style

object.Style = Style

 

Parameter

Type

Description

Style

MVScaleBarStyle

required; scale bar style

 

Example 1

This example returns the scale bar style.

 

Debug.Print ScaleBar.Style

 

Example 2

This example sets the scale bar style to Comb.

 

ScaleBar.Style = mvScaleBarStyleComb

 

Used by: ScaleBar object