ViewRotation Property

ViewRotation returns or sets the 3D rotation in degrees. Returns a double.

Syntax

object.ViewRotation

object. ViewRotation = Rotation

Parameter

Type

Description

Rotation

Double

required

Example 1

This example demonstrates how to return the 3D rotation.

Debug.Print MapFrame.ViewRotation

Example 2

This example demonstrates how to set the 3D rotation to 135 degrees.

MapFrame.ViewRotation = 135

Used by: MapFrame object