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

Namespace: Docentric.Documents.Reporting
Assembly: Docentric.Documents.Reporting (in Docentric.Documents.Reporting.dll)
public DocumentGenerationResult GenerateDocument( String templateFilePath, String outputDocumentFilePath, SaveOptions saveOptions )

Parameters

templateFilePath
Type: String

The file path of the report template file.

outputDocumentFilePath
Type: String

The file path 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
Returns the result of the document generation process.