Share via


Label.Left Property (2007 System)

Gets or sets the distance, in points, between the left edge of the Label and the left edge of the document.

Namespace:  Microsoft.Office.Tools.Word.Controls
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
Public Property Left As Single
'Usage
Dim instance As Label 
Dim value As Single 

value = instance.Left

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

Property Value

Type: System.Single
The distance, in points, between the left edge of the Label and the left edge of the document.

Remarks

The Label.Left property uses points, whereas Control.Left property uses pixels.

You can only use the Label.Left property of a Label control that is not in line with text. For more information, see Adding Controls to Office Documents at Run Time.

Examples

For a code example that demonstrates how to use this property, see Button.Left. All controls in the Microsoft.Office.Tools.Word.Controls namespace have a functionally equivalent Left property.

.NET Framework Security

See Also

Reference

Label Class

Label Members

Microsoft.Office.Tools.Word.Controls Namespace