WebBrowser.Left Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the distance, in points, between the left edge of the WebBrowser and the left edge of the document.
public:
property float Left { float get(); void set(float value); };
public float Left { get; set; }
member this.Left : single with get, set
Public Property Left As Single
Property Value
The distance, in points, between the left edge of the WebBrowser and the left edge of the document.
Examples
For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Word.Controls.Button.Left. All controls in the Microsoft.Office.Tools.Word.Controls namespace have a functionally equivalent Left
property.
Remarks
The Microsoft.Office.Tools.Word.Controls.WebBrowser.Left property uses points, whereas System.Windows.Forms.Control.Left property uses pixels.
You can only use the Left property of a WebBrowser control that is not in line with text. For more information, see Adding Controls to Office Documents at Run Time.