Generates a document by providing the report template stream, the output document stream and the save options.

Namespace: Docentric.Documents.Reporting
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.

Return value

Type: DocumentGenerationResult