TXTextControl.DocumentServer.MailMerge.LoadTemplate Method

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


public bool LoadTemplate(string filename, DocumentServer.FileFormat documentFormat);
[Visual Basic]
Public Function LoadTemplate(ByVal filename As String, ByVal documentFormat As DocumentServer.FileFormat) As Boolean
Parameter Description

Specifies a template file from which the data is loaded.


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.

See Also