Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Document Object > Methods

EmEditor Macro Reference: GetLine Method

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Document Object

GetLine Method

Retrieves the text on the specified line.

[JavaScript]

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

[VBScript]

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

Parameters

yLine

Specifies a line number of the text to retrieve.

nFlags

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.

Version

Supported on EmEditor Professional Version 7.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.