ExportFormat Enumeration

Specifies the file format to use when exporting a view.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

 Member nameDescription
MhtWeb Archive, single file format (.mht) 
PdfPortable Document Format file (.pdf) 
XpsXPS Document (.xps) 

The ExportFormat enumeration is used to specify the file format when using the Export method of the View class.


You can save as a PDF or XPS file from a 2007 Microsoft Office system program only after you install an add-in. For more information, search for "Enable support for other file formats, such as PDF and XPS" on Office Online.

Community Additions