Left Property [Selection, Shape]

 

The Left property returns or sets the coordinate for the left edge of the selection or shape. Returns a double.

 

Syntax

object.Left

object.Left( UnitType) = Left

 

Parameter

Type

Description

UnitType

MVCoordDisplayUnits

optional; unit type, default is mvCoordDisplayUnitPageUnits

Left

Double

optional; in page units

 

Example 1

This example demonstrates how to return the position of the left side of a selection.

 

Debug.Print Selection.Left

 

Example 2

This example demonstrates how to position the left side of an object 1.5 page units from the left edge of a page.

 

Shape.Left = 1.5

 

Used by: Selection collection, Shape object