Height Property [Selection, Shape]

 

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

 

Syntax

object.Height

object.Height( UnitType ) = Height

 

Parameter

Type

Description

UnitType

MVCoordDisplayUnits

optional; unit type, default is mvCoordDisplayUnitPageUnits

Height

Double

optional; in page units

 

Example

    'Height [Selection, Shape]

    'Select all the boundaries in the active layer

    Plot.Layers.ActiveLayer.Shapes.SelectAll

 

    'Return the height of the selected objects

    Debug.Print Selection.Height

 

    'Change the height of the selected objects to 4 page units

    Selection.Height = 4

 

Used by: Selection collection, Shape object