Method of ITextDocument
Returns copy of text, with actual line breaks
var strChars = TextDocument.GetText(pRange);
strChars = TextDocument.GetText pRange
BSTR strChars; HRESULT hr = TextDocument.GetText(pRange, &strChars);
ITextDocument