This documentation is archived and is not being maintained.

IFormTemplateConverter2.ShowOptionsDialog Method

Office 2007
Displays a custom Import Options dialog box to the user when the Options button is clicked in the last step of the wizard.

Version Information
 Version Added:  InfoPath 2007


expression.ShowOptionsDialog(lHwnd, fExporting)

expression   An expression that returns a IFormTemplateConverter2 object.


NameRequired/OptionalData TypeDescription
lHwndRequiredLongThe HWND of the window that the options dialog is modal to.
fExportingRequiredBooleanTrue if exporting options should be displayed, false if importing options should be displayed.

Return Value


Bb229980.vs_note(en-us,office.12).gif  Note
The custom dialog must be implemented by the converter.

The IFormTemplateConverter2 interface, new to Microsoft Office InfoPath 2007, provides the same converter options as the IFormTemplateConverter interface plus support for exporting an InfoPath form to an arbitrary format. For more information about implementing the IFormTemplateConverter2 interface, see the InfoPath Developer Portal on the Microsoft Office Developer Center.

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.