Left Property

Applies To

Application object, Axis object, AxisTitle object, Chart object, ChartArea object, ChartTitle object, DataLabel object, DataSheet object, Legend object, LegendEntry object, LegendKey object, PlotArea object.

Description

Returns or sets the position of the specified object, in points. Read/write Long, except as shown in the following table.

Remarks

The meaning of the Left property depends on the specified object.

Object

Meaning

Application

The distance from the left edge of the screen to the left edge of the main Microsoft Graph window.

Chart, DataSheet

The distance from the left edge of the object to the left edge of the Microsoft Graph window.

Axis, LegendEntry, LegendKey

The distance from the left edge of the object to the left edge of the chart area. Read-only.

AxisTitle, ChartArea, ChartTitle, DataLabel, Legend, PlotArea

The distance from the left edge of the object to the left edge of the chart area.


If the window is maximized, Application.Left returns a negative number that varies based on the width of the window border. Setting Application.Left to 0 (zero) will make the window a tiny bit smaller than it would be if the application window were maximized. In other words, if Application.Left is 0 (zero), the left border of the main Microsoft Graph window will just barely be visible on the screen.

On the Macintosh, Application.Left is always 0 (zero). Setting this value to something else on the Macintosh will have no effect.

In Windows, if the Microsoft Graph window is minimized, Application.Left controls the position of the window icon.

See Also

Height property, Top property, Width property.

Example

This example aligns the left edge of the chart title with the left edge of the chart area.

myChart.ChartTitle.Left = 0