InfoPathEditor Object Members
InfoPath Developer Reference |
A hostable object that is used to integrate the InfoPath form editing environment into a custom COM-based application.
Methods
Name | Description | |
---|---|---|
CloseDocument | Closes the active form in the InfoPathEditor object. | |
FlushDocument | Synchronizes the underlying data of the form with changes in the view. | |
Load | Loads a form file (.xml) into the InfoPathEditor object. | |
LoadFromStream | Loads a form file (.xml) from a file stream (IStream). | |
NewFromSolution | Creates a new form based on a form template (.xsn) file. | |
NewFromSolutionWithData | Creates a new form based on the specified form template and the data contained in an XML stream. | |
SetInitEventHandler | Sets the event handler in the host application for handling the event that occurs when the form is loaded in the InfoPathEditor object. | |
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. | |
SetSubmitToHostEventHandler | Sets the event handler in the host application for handling the Submit method of the SubmitToHostAdapter object. |
Properties
Name | Description | |
---|---|---|
DataConnectionBaseURL | Gets or sets the base URL to be used with data connection files (.UDCX). Read/write | |
Host | Gets or sets the host application. Read/write | |
HostName | Gets or sets the name of the hosting application. Read/write | |
XDocument | Gets the XDocument object associated with the hosted InfoPathEditor object. Read-only |