PdfRpt DataExporter Builder Class.
Exemplo n.º 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);
        }
Exemplo n.º 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;
 }