Read-only. The size of a document in bytes, which includes the size of any file attachments to the document.
var doc:NotesDocument = currentDocument.getDocument(); return "The current document uses " + doc.getSize().toFixed() + " bytes"
Size property in LotusScript® NotesDocument class
Size property in Java™ Document class