GetBottomPointY Method (Selection Object)

Returns the line number of the bottom of the selection.

[JavaScript]

yPos = document.selection.GetBottomPointY( nFlags [, iSel ] );

[VBScript]

yPos = document.selection.GetBottomPointY( nFlags [, iSel ] )

Parameters

nFlags

Specifies a combination of the following values:

eePosView

Returns the line number in view.

eePosLogical

Returns the logical line number, determined by the number of new lines from the start of the document.

eePosCellLogical

CSV cell unit in logical coordinates.

eePosCellView

CSV cell unit in view coordinates.

iSel

Optional. Specifies the one-based index of the selection. If 0 is specified or omitted, the normal selection is specified. If 1 or larger is specified, the nFlags parameter must be eePosLogical.

Version

Supported in EmEditor Professional Version 4.00 or later.