Udostępnij za pośrednictwem


OLEObject.Left Property (2007 System)

Gets or sets the distance, in points, from the left edge of the OLEObject 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
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Property Left As Double
'Usage
Dim instance As OLEObject 
Dim value As Double 

value = instance.Left

instance.Left = value
public double Left { get; set; }
public:
property double Left {
    double get ();
    void set (double value);
}
public function get Left () : double 
public function set Left (value : double)

Property Value

Type: System.Double
The distance, in points, from the left edge of the OLEObject 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

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace