Style Property [ScaleBar]

Style returns or sets the scale bar style. Returns a SrfSBStyle.

Syntax

object. Style

object. Style = Style

Parameter

Type

Description

Style

SrfSBStyle

required; Sets the scale bar style.

Example 1

This example demonstrates how to return the scale bar style.

Debug.Print ScaleBar.Style

Example 2

This example demonstrates how to set the scale bar style to double bar alternate.

ScaleBar.Style = SBStyle_DoubleBarAlternate

Used by: ScaleBar object