XML DataExporter
Inheritance: IDataExporter
示例#1
0
 /// <summary>
 /// XML DataExporter
 /// </summary>
 /// <param name="description">the produced file's description</param>
 /// <param name="fileName">the produced file's name</param>
 public void ToXml(string description = "Exported Data", string fileName = "data.xml")
 {
     var exportToXml = new ExportToXml
     {
         Description = description,
         FileName = fileName
     };
     _pdfReport.DataBuilder.CustomExportSettings.Add(exportToXml);
 }