Specifies the format in which to return the document.
|Last changed in||1.1|
|Office.FileType.Compressed||"compressed"||Returns the entire document (.pptx or .docx) in Office Open XML (OOXML) format as a byte array.|
|Office.FileType.Pdf||"pdf"||Returns the entire document in PDF format as a byte array.|
|Office.FileType.Text||"text"||Returns only the text of the document as a string. (Word only)|
A capital Y in the following matrix indicates that this enumeration is supported in the corresponding Office host application. An empty cell indicates that the Office host application doesn't support this enumeration.
For more information about Office host application and server requirements, see Requirements for running Office Add-ins.
Supported hosts, by platform
|Office for Windows desktop||Office Online (in browser)||Office for iPad|
|Add-in types||Content, task pane|
|1.1||Added support for PowerPoint and Word in Office for iPad.|
|1.1||Added support for saving as PDF.|