LabelRotation Property

 

LabelRotation returns or sets the scale bar label rotation angle in degrees. Returns an integer.

 

Syntax

object.LabelRotation

object.LabelRotation = Angle

 

Parameter

Type

Description

Angle

Integer

required; rotation angle between -360 and 360 degrees

 

Example 1

This example demonstrates how to return the label rotation.

 

Debug.Print ScaleBar.LabelRotation

 

Example 2

This example demonstrates how to rotate labels 60 degrees counterclockwise.

 

ScaleBar.LabelRotation = 60

 

Used by: ScaleBar object