ViewProjection Property

ViewProjection returns or sets the 3D projection type (perspective or orthographic). Returns a SrfViewProj.

Syntax

object.ViewProjection

object.ViewProjection = Proj

Parameter

Type

Description

Proj

SrfViewProj

required

Example 1

This example demonstrates how to return the 3D projection view.

Debug.Print MapFrame.ViewProjection

Example 2

This example demonstrates how to apply a 3D perspective projection.

MapFrame.ViewProjection = srfPerspective

Used by: MapFrame object