Services AssembleDocument Method
AssembleDocument assembles (creates) a document from the given template, answers and settings.

Namespace: HotDocs.Sdk.Server.WebService
Assembly: HotDocs.Sdk.Server (in HotDocs.Sdk.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public AssembleDocumentResult AssembleDocument(
	Template template,
	TextReader answers,
	AssembleDocumentSettings settings,
	string logRef
)

Parameters

template
Type: HotDocs.Sdk Template
An instance of the Template class, from which the document will be assembled.
answers
Type: OnlineSystem.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: OnlineSystem String
A string to display in logs related to this request.

Return Value

Type: AssembleDocumentResult
returns information about the assembled document, the document type, the unanswered variables, the resulting answers, etc.

Implements

IServices AssembleDocument(Template, TextReader, AssembleDocumentSettings, String)
See Also