BottomLine Property

Home Page (Objects)OverviewFAQReference

Applies to: TextSelection object

Gets the line at the bottom of a selection.

Syntax

object**.BottomLine**

Parameters

object

An expression that evaluates to a TextSelection object.

Remarks

The BottomLine property has the Long type.

The bottom line is not necessarily at the active end of the selection.

Example

The following example gets the line at the end of the selection in the active document:

Dim EndLine
EndLine = ActiveDocument.Selection.BottomLine

See Also   CurrentLine property, TopLine property.