TXTextControl.DocumentServer.MailMerge.LoadTemplateFromMemory Method

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

Syntax

[C#]
public bool LoadTemplateFromMemory(object template, DocumentServer.FileFormat documentFormat);
[Visual Basic]
Public Function LoadTemplateFromMemory(ByVal template As Object, ByVal documentFormat As DocumentServer.FileFormat) As Boolean
Parameter Description
template

Specifies a template memory variable 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