PdfRpt.FluentInterface.ExportToBuilder.ToXml C# (CSharp) Method

ToXml() public method

XML DataExporter
public ToXml ( string description = "Exported Data", string fileName = "data.xml" ) : void
description string the produced file's description
fileName string the produced file's name
return void
        public void ToXml(string description = "Exported Data", string fileName = "data.xml")
        {
            var exportToXml = new ExportToXml
            {
                Description = description,
                FileName = fileName
            };
            _pdfReport.DataBuilder.CustomExportSettings.Add(exportToXml);
        }