DocumentGenerator.GenerateDocument Method (Stream, Stream) |
Docentric Toolkit Help
Send Feedback |
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.
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.