FORMULA LANGUAGE


@DocLength
Example

Returns the approximate size of a document in bytes.

Syntax

@DocLength

Return value

length


Usage

This function works in any formula that runs in the context of one or more documents.

The number returned is only an approximation. The actual size of the document may differ for the following reasons:


Documents that are open typically use more storage than documents that are closed. The value returned for @DocLength may vary depending on whether it is running in an open document or a closed document; for example, a document selected at the view level.

Language cross-reference

LOF function of LotusScript language

Size property of LotusScript NotesDocument class

Size property of Java Document class

Example
See Also