FormControl.NewFromFormTemplate Method (String)
Creates a new form based on a form template (.xsn) file.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath.FormControl (in microsoft.office.infopath.formcontrol.dll)
Syntax
'Declaration
'Usage
Parameters
- formTemplateLocation
The path or URL to the form template (.xsn) file.
Remarks
For more information about the FormControl object, see Hosting the InfoPath 2007 Form Editing Environment in a Custom Windows Form Application and the "InfoPath Editor Hosted as a Control" section of What's New for InfoPath Developers.
See Also
Reference
FormControl Class
FormControl Members
Microsoft.Office.InfoPath Namespace