FileSize (NotesEmbeddedObject - JavaScript™) Read-only. The size of a file attachment, in bytes. Defined inNotesEmbeddedObject Syntax getFileSize() : int UsageReturns 0 for embedded objects and links.