Application.GetDocumentFileExtension Method

Get the native file extension of documents generated from a given template.

Syntax

string GetDocumentFileExtension(string templateFileName)

Parameters Description
templateFileName The path of a HotDocs template. (Only templates that produce documents are valid; interview (.CMP) templates do not produce assembled documents, and are thus invalid.)

Return Value

The file extension of documents assembled from the specified template.