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

GetAnchorPointY Method

Returns the line number of the origin point of the selection.

[JavaScript]

yPos = document.selection.GetAnchorPointY( nFlags );

[VBScript]

yPos = document.selection.GetAnchorPointY( 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.03 or later.

Copyright 2003-2015 by Emurasoft, Inc.