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

GetTopPointX Method

Returns the column number of the top of the selection.

[JavaScript]

xPos = document.selection.GetTopPointX( nFlags );

[VBScript]

xPos = document.selection.GetTopPointX( nFlags )

Parameters

nFlags

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.

Version

Supported on EmEditor Professional Version 4.00 or later.

Feedback Send feedback on this topic to Emurasoft

Copyright © 2003-2011 by Emurasoft, Inc.