Application.AssembleDocument Method

This method assemblies a document from a template and answer collection. See also Application.AssembleDocument2.

Syntax

void Application.AssembleDocument(_AnswerCollection answerCollectionObj, string TemplatePath, string DocumentPath);

Parameters Description
answerCollectionObj The answer collection. This provides the answers required to assemble the document.
TemplatePath The path to the template.
DocumentPath The path of the document that will be assembled from the template. The extension provided designates the requested format of the document. If the document extension provided is not supported for the template format, an error occurs, and an exception is thrown.