Construct a Template object.
Namespace: HotDocs.SdkAssembly: HotDocs.Sdk (in HotDocs.Sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- fileName
- Type:
System String
The template file name.
- location
- Type: HotDocs.Sdk TemplateLocation
The location of the template.
- switches (Optional)
- Type:
System String
Contains the command line options to be used. For example, the host application could examine this property to determine if any switches indicate that the interview should not be displayed. Switches may be set in the template or by the host application. Switches are interpreted by the host application. The Template class provides helper properties for interpreting switches. These properties are also accessed by the WorkSession class.
- key (Optional)
- Type:
System String
Uniquely identifies the template. A key is necessary for templates without a fixed file name, such as when stored in a DMS or other database. An empty string may be used for templates with a fixed file name.
See Also