Generates an MS Word document by providing the report template file name and the output document file name. The format of the output document will be inferred from the file extension.

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

Parameters

templateFilePath
Type: String

The file path of the report template file.

outputDocumentFilePath
Type: String

The file path of the generated document.

Return value

Type: DocumentGenerationResult
Returns the result of the document generation process.