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

JavaScript API for Office v1.1

Gets the document file size in bytes.

Last modified: June 12, 2014

var fileSize = file.size;

The file size in bytes.

App types

Content apps, Task pane apps

Supported clients

PowerPoint 2013, PowerPoint 2013 SP1, PowerPoint 2013 RT, Word 2013, Word 2013 SP1, Word 2013 RT

Library

Office.js

Namespace

Office

Show:
© 2014 Microsoft