Size (NotesDocument - JavaScript™)
Read-only. The size of a document in bytes, which includes the size of any file attachments to the document.
Defined in
NotesDocumentSyntax
getSize() : int
Examples
This computed field displays the number of bytes in the current document.var doc:NotesDocument = currentDocument.getDocument();
return "The current document uses " + doc.getSize().toFixed() + " bytes"