Height Property [PageSetup, Selection, Shape]
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, use page units for top-level document objects, use map units for objects inside a base layer |
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
Example 3
This script displays all the methods and properties in the Shape object.
Used by: PageSetup object, Selection collection, Shape object