Orientation Property

 

The Orientation property returns or sets the paper orientation (landscape or portrait) for the map window. Returns a MVPaperOrientation.

 

Syntax

object.Orientation

object.Orientation = Orient

 

Parameter

Type

Description

Orient

MVPaperOrientation

required; landscape or portrait

 

Example 1

This example demonstrates how to return the page orientation of a document.

 

Debug.Print PageSetup.Orientation

 

Example 2

This example demonstrates how to set the page orientation to landscape.

 

PageSetup.Orientation = mvLandscape

 

Used by: PageSetup object