TX Text Control .NET for Windows Forms

ReportDataSourceConfigFile Property

Property|Introduced in 20.0
Namespace
TXTextControl.DocumentServer
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the file path of a Report Data Source Configuration file (*.rdsc) which has been created with TX Text Control Words.

Syntax

public string ReportDataSourceConfigFile { get; set; }

Examples

The following example uses MailMerge.ReportDataSourceConfigFile to configure report data source config file as part of the mail merge workflow. The configured value is checked before the workflow continues.

mailMerge.ReportDataSourceConfigFile = "document.docx";
if (!string.IsNullOrWhiteSpace(mailMerge.ReportDataSourceConfigFile))
{
    Console.WriteLine($"Report Data Source Config File: {mailMerge.ReportDataSourceConfigFile}");
}