AssembleDocument assembles (creates) a document from the given template, answers and settings.
Namespace: HotDocs.Sdk.Server.WebServiceAssembly: HotDocs.Sdk.Server (in HotDocs.Sdk.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- template
- Type: HotDocs.Sdk Template
An instance of the Template class, from which the document will be assembled.
- answers
- Type:
System.IO TextReader
The set of answers that will be applied to the template to assemble the document
- settings
- Type: HotDocs.Sdk AssembleDocumentSettings
settings that will be used to assemble the document. These settings include the assembled document format (file extension), markup syntax, how to display fields with unanswered variables, etc
- logRef
- Type:
System String
A string to display in logs related to this request.
Return Value
Type: AssembleDocumentResultreturns information about the assembled document, the document type, the unanswered variables, the resulting answers, etc.
Implements
IServices AssembleDocument(Template, TextReader, AssembleDocumentSettings, String)See Also