GetLineLength

Method of ITextDocument

Description

Returns line length

Parameters

Return Value

Syntax

JavaScript

var pnLength = TextDocument.GetLineLength(nLine);

Visual Basic Script

pnLength = TextDocument.GetLineLength nLine

C++

long nLength;
HRESULT hr = TextDocument.GetLineLength(nLine, &nLength);

See Also

ITextDocument