Width Property [LineFormat, PageSetup, Selection, Shape]

Width returns or sets the width of the line, page setup, selection, or shape. Returns a double.

Syntax

object.Width

object. Width = Width

Parameter

Type

Description

Width

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 width of a line.

Debug.Print LineFormat.Width

Example 2

This example demonstrates how to set the width of a rectangle to five page units.

Rectangle.Width = 5

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