EmEditor Home - EmEditor Help - EmEditor Macro Reference - Selection Object

GetTopPointY Method

Returns the line number of the top of the selection.

[JavaScript]

yPos = document.selection.GetTopPointY( nFlags );

[VBScript]

yPos = document.selection.GetTopPointY( nFlags )

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.

Version

Supported on EmEditor Professional Version 4.00 or later.

Feedback Send feedback on this topic to Emurasoft

Copyright © 2003-2011 by Emurasoft, Inc.