Width Property [Selection, Shape]

 

The Width property returns or sets the width. Returns a double.

 

Syntax

object.Width

object.Width( UnitType ) = Width

 

Parameter

Type

Description

UnitType

MVCoordDisplayUnits

optional; unit type, default is mvCoordDisplayUnitPageUnits

Width

Double

optional; in page units

 

Example

    'Width [Selection, Shape]

    'Select all the boundaries in the active layer

    Plot.Layers.ActiveLayer.Shapes.SelectAll

 

    'Return the width of the selected objects

    Debug.Print Selection.Width

 

    'Change the width of the selected objects to five page units

    Selection.Width = 5

 

Used by: LineFormat object, LineGraphMap object, PageSetup object, Selection collection, Shape object