PdfRpt DataExporter Builder Class.
Example #1
0
        /// <summary>
        /// Sets the desired exporters such as ExportToExcel.
        /// You can set multiple exporters here.
        /// </summary>
        /// <param name="pdfRptExportToBuilder">DataExporter Builder</param>
        /// <returns></returns>
        public PdfReport Export(Action <ExportToBuilder> pdfRptExportToBuilder)
        {
            var builder = new ExportToBuilder(this);

            pdfRptExportToBuilder(builder);
            return(this);
        }
Example #2
0
 /// <summary>
 /// Sets the desired exporters such as ExportToExcel.
 /// You can set multiple exporters here.
 /// </summary>
 /// <param name="pdfRptExportToBuilder">DataExporter Builder</param>
 /// <returns></returns>
 public PdfReport Export(Action<ExportToBuilder> pdfRptExportToBuilder)
 {
     var builder = new ExportToBuilder(this);
     pdfRptExportToBuilder(builder);
     return this;
 }