DocumentGenerator.GenerateDocument Method (Stream, Stream, SaveOptions) |
Docentric Toolkit Help
Send Feedback |
Generates a document by providing the report template stream, the output document stream and the save options.
Assembly: Docentric.Documents.Reporting (in Docentric.Documents.Reporting.dll)
public DocumentGenerationResult GenerateDocument( Stream templateStream, Stream outputDocumentStream, SaveOptions saveOptions )
Parameters
- templateStream
-
Type:
Stream
The stream of the report template file.
- outputDocumentStream
-
Type:
Stream
The stream of the generated document.
- saveOptions
-
Type:
SaveOptions
The saving options which are used to define settings for save operation, such as output document format.