FormTemplate class
Office 2013 and later
Represents a form template.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
The FormTemplate class implements properties for getting information about a form template, including its version number, its cache identifier, the Uniform Resource Identifier (URI) it was loaded from, and an XPathNavigator object positioned at the root of its form definition (.xsf) file. The FormTemplate class also implements a method for opening a file contained within the form template .xsn file.
A FormTemplate object that represents the form template associated with the current form is accessed through the Template property of the XmlForm class.
Show: