Export (0) Print
Expand All

Slice.data property (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Gets the raw data of the file slice.

Last modified: June 12, 2014

var sliceData = slice.data;

The raw data of the file slice in Office.FileType.Text ("text") or Office.FileType.Compressed ("compressed") format as specified by the fileType parameter of the call to the Document.getFileAsync method.

Files in the "compressed" format will return a byte array that can be transformed to a base64-encoded string if required.

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





© 2014 Microsoft