Shape.Left Property 

Returns or sets a Single that represents the horizontal position, measured in points, of the specified shape or shape range.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim shape1 As Shape

Dim returnValue As Single
returnValue = shape1.Left

Dim sampleValue As Single
shape1.Left = sampleValue

Syntax

Property Left() As Single
float Left {get; set;}
property Single Left{
    Single get();
    Void set(Single);
}
public float get_Left();
public void set_Left(float);
function get Left() : float;
function set Left(float);

Remarks

This property returns any valid WdShapePosition constant.

The position of a shape is measured from the upper-left corner of the shape's bounding box to the shape's anchor. The RelativeHorizontalPosition property controls whether the anchor is positioned alongside a character, column, margin, or the edge of the page.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Shape Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Shape Members