InfoPathEditorObject Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A hostable object that is used to integrate the Microsoft InfoPath form editing environment into a .NET-based custom application.
public interface class InfoPathEditorObject : Microsoft::Office::Interop::InfoPath::InfoPathEditor
[System.Runtime.InteropServices.Guid("096CD706-0786-11D1-95FA-0080C78EE3BB")]
public interface InfoPathEditorObject : Microsoft.Office.Interop.InfoPath.InfoPathEditor
type InfoPathEditorObject = interface
interface InfoPathEditor
Public Interface InfoPathEditorObject
Implements InfoPathEditor
- Derived
- Attributes
- Implements
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, seeInfoPathEditor.
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 Form Editing Environment in a Custom Windows Form ApplicationWhat's New for InfoPath Developers. For more information about using the XmlFormView control in custom Web pages, see Hosting the InfoPath Form Editing Environment in a Custom Web Form
Properties
DataConnectionBaseUrl |
Gets or sets the base URL to be used with data connection files (.UDCX). (Inherited from InfoPathEditor) |
Host |
Gets or sets the object used to access the object model of the host application. (Inherited from InfoPathEditor) |
HostName |
Gets or sets the name of the host application. (Inherited from InfoPathEditor) |
XDocument |
Gets an XDocument object associated with the hosted InfoPathEditor object. (Inherited from InfoPathEditor) |
Methods
CloseDocument() |
Closes the active form in the InfoPathEditor object. (Inherited from InfoPathEditor) |
FlushDocument() |
Synchronizes the underlying data of the form with changes in the view. (Inherited from InfoPathEditor) |
Load(String) |
Loads a form file (.xml) into the InfoPathEditor object. (Inherited from InfoPathEditor) |
LoadFromStream(Object) |
Loads a form file (.xml) from a file stream (System.IO.IStream) into the InfoPathEditor object. (Inherited from InfoPathEditor) |
NewFromSolution(String) |
Creates a new form based on a form template (.xsn) file. (Inherited from InfoPathEditor) |
NewFromSolutionWithData(String, Object, Int32) |
Creates a new form based on the specified form template and the data contained in an XML stream. (Inherited from InfoPathEditor) |
SetInitEventHandler(_IInitEventHandler) |
Sets the event handler in the host application for handling the event that occurs when the form is loaded in the InfoPathEditor object. (Inherited from InfoPathEditor) |
SetNotifyHostEventHandler(INotifyHostEventHandler) |
Sets the event handler in the host application for handling the event that occurs when the NotifyHost(String) method of the XDocument object is used to notify the host application. (Inherited from InfoPathEditor) |
SetSubmitToHostEventHandler(ISubmitToHostEventHandler) |
Sets the event handler in the host application for handling the Submit() method of the SubmitToHostAdapter object. (Inherited from InfoPathEditor) |