Generates a document by providing the report template stream and the output document stream. The output document will be written as an MS Word (docx) document.

Namespace: Docentric.Documents.Reporting
Assembly: Docentric.Documents.Reporting (in Docentric.Documents.Reporting.dll)
public DocumentGenerationResult GenerateDocument( Stream templateStream, Stream outputDocumentStream )

Parameters

templateStream
Type: Stream

The stream of the report template file.

outputDocumentStream
Type: Stream

The stream of the generated document.

Return value

Type: DocumentGenerationResult