EmEditor Home - EmEditor Help - EmEditor Macro Reference - Document Object

GetLine Method

Retrieves the text on the specified line.


str = document.GetLine( yLine [, nFlags ] );


str = document.GetLine( yLine [, nFlags ] )



Specifies a line number of the text to retrieve.


Optional. You can specify a combination of the following values. If no value is specified, the logical coordinates without return codes are specified.

eeGetLineView Specifies coordinates in view.
eeGetLineWithNewLines Adds return codes to the text.


Supported on EmEditor Professional Version 7.00 or later.

Copyright 2003-2016 by Emurasoft, Inc.