Share via


InfoPathEditorObject Interface

A hostable object that is used to integrate the Microsoft Office InfoPath 2007 form editing environment into a .NET-based custom application.

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

Syntax

'Declaration
'Usage

Remarks

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, see InfoPathEditor.

The InfoPathEditor editor object provides various properties and methods to open and close form templates, as well as to communicate with the host environment. The Microsoft.Office.InfoPath.FormControl assembly provides similar functionality for .NET-based custom applications, and the Microsoft.Office.InfoPath.Server assembly provides the hostable XmlFormView control for use in custom Web pages (.aspx).

For more information about the InfoPathEditor and the FormControl objects , see the MSDN article Hosting the InfoPath 2007 Form Editing Environment in a Custom Windows Form Application and the "The InfoPath Editor Hosted As a Control" section of What's New for InfoPath Developers. For more information about using the XmlFormView control in custom Web pages, see Hosting the InfoPath 2007 Form Editing Environment in a Custom Web Form.

See Also

Reference

InfoPathEditorObject Members
Microsoft.Office.Interop.InfoPath Namespace