This documentation is archived and is not being maintained.

InfoPathEditor Object Members

Office 2007

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

Methods

 NameDescription
Bb230053.methods(en-us,office.12).gif CloseDocument Closes the active form in the InfoPathEditor object.
Bb230053.methods(en-us,office.12).gif FlushDocument Synchronizes the underlying data of the form with changes in the view.
Bb230053.methods(en-us,office.12).gif Load Loads a form file (.xml) into the InfoPathEditor object.
Bb230053.methods(en-us,office.12).gif LoadFromStream Loads a form file (.xml) from a file stream (IStream).
Bb230053.methods(en-us,office.12).gif NewFromSolution Creates a new form based on a form template (.xsn) file.
Bb230053.methods(en-us,office.12).gif NewFromSolutionWithData Creates a new form based on the specified form template and the data contained in an XML stream.
Bb230053.methods(en-us,office.12).gif SetInitEventHandler Sets the event handler in the host application for handling the event that occurs when the form is loaded in the InfoPathEditor object.
Bb230053.methods(en-us,office.12).gif SetNotifyHostEventHandler Sets the event handler in the host application for handling the event that occurs when the NotifyHost method of the XDocument object is used to notify the host application.
Bb230053.methods(en-us,office.12).gif SetSubmitToHostEventHandler Sets the event handler in the host application for handling the Submit method of the SubmitToHostAdapter object.

Properties

 NameDescription
Bb230053.properties(en-us,office.12).gif DataConnectionBaseURL Gets or sets the base URL to be used with data connection files (.UDCX). Read/write
Bb230053.properties(en-us,office.12).gif Host Gets or sets the host application. Read/write
Bb230053.properties(en-us,office.12).gif HostName Gets or sets the name of the hosting application. Read/write
Bb230053.properties(en-us,office.12).gif XDocument Gets the XDocument object associated with the hosted InfoPathEditor object. Read-only


Show: