Table of Contents

Method GetLineLength

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetLineLength(long)

Gets the length of the specified line, not including any trailing newline character(s).

int GetLineLength(long lineNo)

Parameters

lineNo long

Line number (starting from zero).

Returns

int

The length of the line, or -1 if lineNo was invalid.