scripting:api:text-document:line-count

LineCount

Property of ITextDocument

Line count property

Read-Only Property of type long

var nCount = TextDocument.LineCount;
nCount = TextDocument.LineCount
long nCount;
HRESULT hr = TextDocument.get_LineCount(&nCount);