Share via


Left Property [Publisher 2003 VBA Language Reference]

Left property as it applies to the ReaderSpread object.

Returns a Single indicating the position (in points) of the left edge of the reader spread from the workspace. Read-only.

expression.Left

expression Required. An expression that returns one of the above objects.

Left property as it applies to the PrintableRect object.

Returns a Single indicating the distance (in points) from the left edge of the printer sheet to the left edge of the printable rectangle. Read-only.

expression.Left

expression Required. An expression that returns one of the above objects.

Left property as it applies to the Shape object.

Returns or sets a Variant indicating the distance from the left edge of the page to the leftmost edge of the specified shape. Numeric values are in points; all other values are in any measurement supported by Publisher (for example, "2.5 in"). Read/write.

expression.Left

expression Required. An expression that returns one of the above objects.

Left property as it applies to the ShapeRange object.

Returns a Variant indicating the distance from the left edge of the page to the leftmost edge of all the shapes in the specified shape range. Numeric values are in points; all other values are in any measurement supported by Publisher (for example, "2.5 in"). Read-only.

expression.Left

expression Required. An expression that returns one of the above objects.

Left property as it applies to the Window object.

Returns or sets a Long indicating the position (in points) of the left edge of the application window relative to the left edge of the screen. Read/write.

expression.Left

expression Required. An expression that returns one of the above objects.

Example

As it applies to the Shape object.

This example sets the horizontal position of the first shape in the active publication to 1 inch from the left edge of the page.

With ActiveDocument.Pages(1).Shapes(1)
    .Left = InchesToPoints(1)
End With

As it applies to the Window object.

This example sets the horizontal position of the active window to 100 points.

With ActiveDocument.ActiveWindow
    .WindowState = pbWindowStateNormal
    .Left = 100
    .Top = 0
End With

Applies to | PrintableRect Object | ReaderSpread Object | Shape Object | ShapeRange Collection | Window Object