FORMULA LANGUAGE


@AttachmentLengths
Example

Returns a number or a number list containing the length of each attachment to the current document. The number(s) returned are only approximations; the actual size(s) of the attachment(s) may be slightly different.

Syntax

@AttachmentLengths( excludeMIMEBody )

Parameters

excludeMIMEBody

Return value

sizeInBytes

Usage

The attachment size is computed based on uncompressed file size (that is, the number of bytes the attachment would use if you extracted it); the actual disk storage space required for the file may be somewhat smaller.

@AttachmentLengths returns an empty list if there are no attachments. If there is one attachment of length 0, @AttachmentLengths returns 0.

Language cross-reference

FileSize property in LotusScript NotesEmbeddedObject class

FileSize property in Java EmbeddedObject class

Example
See Also