Height Property [PageSetup]

 

Height returns or sets the height of the selection in page units. Returns a double.

 

Syntax

object.Height

object.Height = Height

 

Parameter

Type

Description

Height

Double

required; height in page units

 

Example 1

This example demonstrates how to return the height of a page in page units.

 

Debug.Print PageSetup.Height

 

Example 2

This example demonstrates how to set the height of an ellipse to five page units.

 

Ellipse.Height = 5

 

Used by: PageSetup object