导出文件
导出PDF
/*
* 目前只支持两个参数RangeType以及FrameSlides
* @param: { Range?: WdExportRange, From?: number, To?: number, Item?: WdExportItem, IncludeDocProps?: bool }
* WdExportRange: {
* wdExportAllDocument: 0,
* wdExportCurrentPage: 2,
* wdExportFromTo: 3,
* wdExportSelection: 1,
* },
* WdExportItem: {
* wdExportDocumentContent: 0,
* wdExportDocumentWithMarkup: 7
* }
*/
await demo.WordApplication().ActiveDocument.ExportAsFixedFormat()