TXTextControl.DocumentServer.MailMerge.LoadTemplate Method

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

Syntax

[C#]
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
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.

See Also