Height Property [AutoAxis, AutoPageSetup, AutoPlot, AutoSelection, AutoShape]

The Height property returns or sets the height of the object or selection in page units. Returns a Double.

Syntax

object.Height

object.Height = Height

 

Parameter Type Description
Height Double required, height in page units

 

Remarks

For AutoLegend objects, the Width is automatically resized when the Height value is changed.

Example 1

This example shows how to set the height of the X axis.

Axis.height = 10

Example 2

This example shows how to return the height of the X axis.

Debug.Print Axis.height

 

Used by: AutoAxis object, AutoPageSetup object, AutoPlot object, AutoSelection collection, AutoShape object