ReportDataSourceConfigFile Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public Property ReportDataSourceConfigFile As StringExamples
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}");
}mailMerge.ReportDataSourceConfigFile = "document.docx"
If Not String.IsNullOrWhiteSpace(mailMerge.ReportDataSourceConfigFile) Then
Console.WriteLine($"Report Data Source Config File: {mailMerge.ReportDataSourceConfigFile}")
End If