Share via


WordImporter.ShowOptionsDialog Method

InfoPath Developer Reference

Shows Options dialog box before the Import method of the WordImporter object converts the document.

Version Information
 Version Added:  InfoPath 2007

Syntax

expression.ShowOptionsDialog(lHwnd, fExporting)

expression   An expression that returns a WordImporter object.

Parameters

Name Required/Optional Data Type Description
lHwnd Required Long The HWND of the window to which the options dialog is modal.
fExporting Required Boolean If true, the export options of the WordImporter object are shown, otherwise import options are shown.

Return Value
Nothing

Remarks

The options are shown before export or import occurs.

Bb250977.vs_note(en-us,office.12).gif  Note
The fExporting parameter should always be set to false because the WordImporter object does not support exporting.

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