RichTextBox.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 RichTextBox and the left edge of the worksheet.
public:
property double Left { double get(); void set(double value); };
public double Left { get; set; }
member this.Left : double with get, set
Public Property Left As Double
Property Value
The distance, in points, between the left edge of the RichTextBox and the left edge of the worksheet.
Examples
For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.Left. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Left
property.
Remarks
The Microsoft.Office.Tools.Excel.Controls.RichTextBox.Left property uses points, whereas System.Windows.Forms.Control.Left property uses pixels.
Setting the value to a negative number or a number higher than 12288 does not throw an exception but results in the control being set between 0 and 12288.