TextLength Property (Document Object)

Retrieves the length of the document text. If the document contains more than 0x7ffffffe UTF-16 characters, the property is truncated to that length.

[JavaScript]

len = document.TextLength;

[VBScript]

len = document.TextLength

Version

Supported on EmEditor Professional Version 26.3 or later.