17.16.5.18 FILESIZE

Description: The size of the WordprocessingML package in bytes, or the empty string if the size of the package cannot be determined when a field update is performed. [Example: If the package is being streamed, and its size is not yet known by the application reading that stream. end example] [Note: This information is not stored inside the document’s XML. end note]

Field Value: The size of the current document in bytes.

Switches: Zero or one numeric-formatting-switch or general-formatting-switch and zero or one of the following field-specific-switches.

\k

Round to the nearest thousand bytes.

\m

Round to the nearest million bytes.

[Example: Consider the case in the document’s size is 4,660,736 bytes and the following fields are updated:

FILESIZE
FILESIZE
FILESIZE
  \# #,##0
  \k
  \m

the results are:

4,660,736
4661
5

end example]

Syntax:

Last updated on