Macro Reference — Document Object — GetLines Method (Document Object)

# GetLines Method (Document Object)

Retrieves the number of the lines in the document.

##

### [JavaScript]

    nLines = document.GetLines( [ nFlags ] );

### [VBScript]

    nLines = document.GetLines( [ nFlags ] )

## Parameters

nFlags

Optional. You can specify the following value. If no value is specified, the logical coordinates are specified.

eeGetLineView | Specifies coordinates in view.

## Version

Supported on EmEditor Professional Version 7.00 or later.