Partilhar via


ControlSite.Left Property

Gets or sets the distance, in points, from the left edge of the ControlSite to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Property Left As Double
double Left { get; set; }

Property Value

Type: System.Double
The distance, in points, from the left edge of the ControlSite to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).

Remarks

If the window is maximized, this property returns a negative number that varies based on the width of the window border. Setting this property 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 the Left property is 0 (zero), the left border of the main Microsoft Office Excel window will just barely be visible on the screen.

.NET Framework Security

See Also

Reference

ControlSite Interface

Microsoft.Office.Tools.Excel Namespace