IFormTemplateConverter2.Export Method
InfoPath Developer Reference |
Converts an InfoPath form template to a provider-defined format.
Version Information
Version Added: InfoPath 2007
Syntax
expression.Export(srcPath, destPath, vfShowUI, pMessage)
expression An expression that returns a IFormTemplateConverter2 object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
srcPath | Required | String | Full path to the manifest.xsf file for the form template to be exported. |
destPath | Required | String | Full path to the file that will be created by the exporter during the export operation. |
vfShowUI | Required | Boolean | If set to False, the converter will not show any UI other than the options dialog if requested. |
pMessage | Required | String | Contains conversion details and is displayed in the final dialog. Any text over 4096 characters will be truncated. |
Return Value
Nothing
Remarks
InfoPath extracts the form template that is currently open in design mode to the temporary folder specified by the
srcPath
parameter and passes the path to the manifest.xsf file in this folder. All files that were present in the .xsn file for the form template will be found in the same folder as the manifest.xsf file.
If the converter does not support exporting, this method should return E_NOTIMPL.
This interface, object, member or enumeration is provided by the InfoPath design environment. A reference must be set to the Microsoft Office InfoPath Designer 2.0 Type Library, located at C:\Program Files\Microsoft Office\Office12\IPDESIGN.DLL.
This object or member is used for extending the InfoPath application and is not intended to be used directly from your form code.
See Also