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

GetBottomPointX Method

Returns the column number of the bottom of the selection.


xPos = document.selection.GetBottomPointX( nFlags [, iSel ] );


xPos = document.selection.GetBottomPointX( nFlags [, iSel ] )



Specifies a combination of the following values:

eePosView Returns the column position.
eePosLogical Returns the number of characters from the previous new lines (or the start of the document if the first line).
eePosLogicalA Same as eePosLogical but counts a full-width character as 2.


Optional. Specifies the one-based index of the selection. If 0 is specified or omitted, the normal selection is specified.


Supported in EmEditor Professional Version 4.00 or later.

Copyright 2003-2015 by Emurasoft, Inc.