The document is archived and information here might be outdated
InfoPathEditor Methods (Microsoft.Office.Interop.InfoPath)
Closes the active form in the InfoPathEditor object.
Synchronizes the underlying data of the form with changes in the view.
Loads a form file (.xml) into the InfoPathEditor object.
Loads a form file (.xml) from a file stream (System.IO.IStream) into the InfoPathEditor object.
Creates a new form based on a form template (.xsn) file.
Creates a new form based on the specified form template and the data contained in an XML stream.
Sets the event handler in the host application for handling the event that occurs when the form is loaded in the InfoPathEditor object.