How to programmatically export/print to XPS - WordAPI

Raluca Minea 1 Reputation point

Is it possible to export/print to XPS programmatically in an OfficeJS addin? Looking at the docs I see only 3 FileType enum members:
Is there a reason other (fixed) formats are not supported?

In the Word web app I don't have the option so this might be a reason. By default, I can only see the export to PDF option.

Are there any plans to add XPS or any other formats in the future versions of WordAPI?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
863 questions
0 comments No comments
{count} votes