File.size property (JavaScript API for Office v1.0)

Gets the document file size in bytes.

Last modified: June 12, 2014

var fileSize = file.size;

The file size in bytes.

Supported clients

PowerPoint 2013, PowerPoint 2013 RTWord 2013, Word 2013 RT

Library

Office.js

Namespace

Office

Show:
© 2015 Microsoft