Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






@AttachmentLengths

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

Boolean. Optional.

Return value

sizeInBytes

Number or number list.

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

See examples

Examples: @AttachmentLengths
Related topics
@AttachmentNames
@Attachments
Accessing the current document in the formula language




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009