Loads a template from a file that is used for the merge process.

LoadTemplate(String, DocumentServer.FileFormat)

public bool LoadTemplate(string filename, DocumentServer.FileFormat documentFormat);
Public Function LoadTemplate(ByVal filename As String, ByVal documentFormat As DocumentServer.FileFormat) As Boolean


Parameter Description
filename Specifies a template file from which the data is loaded.
documentFormat Specifies one of the DocumentServer.FileFormat values.

Return Value

Returns true, if the template could be loaded successfully and false, if the template is invalid or could not be loaded properly.