Method of ITextDocument
Mark lines as protected
TextDocument.ProtectLine(nFirstLine, nCount, bVal);
==== Visual Basic Script ====
TextDocument.ProtectLine nFirstLine, nCount, bVal
==== C++ ====
HRESULT hr = TextDocument.ProtectLine(nFirstLine, nCount, bVal);
===== See Also ===== ITextDocument