Text Property (Document Object)
Retrieves the document text. If the text is too long, the property fails. The maximum supported length, in UTF-16 characters, is 0x19fffffe when using V8; otherwise, it is 0x3ffffffe. Supported on EmEditor Professional Version 26.3 or later.[JavaScript]
str = document.Text;
[VBScript]
str = document.Text
Version