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

GetAnchorPointY Method

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


yPos = document.selection.GetAnchorPointY( nFlags );


yPos = document.selection.GetAnchorPointY( 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.
eePosCell CSV cell unit


Supported on EmEditor Professional Version 4.03 or later.

Copyright 2003-2016 by Emurasoft, Inc.