Partilhar via


RichTextBox.Bottom Property

Gets the distance, in points, between the bottom edge of the RichTextBox and the top edge of the worksheet.

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

Syntax

'Declaration
Public ReadOnly Property Bottom As Double
public double Bottom { get; }

Property Value

Type: System.Double
The distance, in points, between the bottom edge of the RichTextBox and the top edge of the worksheet.

Remarks

The value of this property is equal to the sum of the Top property value and the Height property value.

The RichTextBox.Bottom property uses points, whereas the Control.Bottom property uses pixels.

Examples

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

.NET Framework Security

See Also

Reference

RichTextBox Class

Microsoft.Office.Tools.Excel.Controls Namespace