NumSubDiv Property

NumSubDiv returns or sets the number of subdivisions in the first cycle of the scale bar. Returns a Long.

Syntax

object.NumSubDiv

object.NumSubDiv = NumSubDiv

Parameter

Type

Description

NumSubDiv

Long

required; Number of subdivisions in the first cycle.

Remarks

The minimum value is 2. The maximum value is 10.

Example 1

This example demonstrates how to return the number of subdivisions.

Debug.Print ScaleBar.NumSubDiv

Example 2

This example demonstrates how to set the number of subdivisions to four.

ScaleBar.NumSubDiv = 4

Used by: ScaleBar object