C# Class PdfRpt.FluentInterface.ExportToBuilder

PdfRpt DataExporter Builder Class.
ファイルを表示 Open project: VahidN/PdfReport Class Usage Examples

Public Methods

Method Description
ExportToBuilder ( PdfReport pdfReport ) : System.Collections.Generic

ctor.

ToCsv ( string description = "Exported Data", string fileName = "data.csv" ) : void

CSV DataExporter

ToCustomFormat ( IDataExporter exportSettings ) : void

Sets the desired exporters such as ExportToExcel.

ToExcel ( string description = "Exported Data", string fileName = "data.xlsx", string worksheetName = "worksheet1", string footer = "", string header = "", string numberformat = "#,##0", string dateTimeFormat = "yyyy-MM-dd hh:mm", string timeSpanFormat = "hh:mm:ss", bool pageLayoutView = false, bool showGridLines = false, TableStyles tableStyle = TableStyles.Dark9 ) : void

Microsoft Excel Worksheet DataExporter

ToXml ( string description = "Exported Data", string fileName = "data.xml" ) : void

XML DataExporter

Method Details

ExportToBuilder() public method

ctor.
public ExportToBuilder ( PdfReport pdfReport ) : System.Collections.Generic
pdfReport PdfReport
return System.Collections.Generic

ToCsv() public method

CSV DataExporter
public ToCsv ( string description = "Exported Data", string fileName = "data.csv" ) : void
description string the produced file's description
fileName string the produced file's name
return void

ToCustomFormat() public method

Sets the desired exporters such as ExportToExcel.
public ToCustomFormat ( IDataExporter exportSettings ) : void
exportSettings IDataExporter export settings
return void

ToExcel() public method

Microsoft Excel Worksheet DataExporter
public ToExcel ( string description = "Exported Data", string fileName = "data.xlsx", string worksheetName = "worksheet1", string footer = "", string header = "", string numberformat = "#,##0", string dateTimeFormat = "yyyy-MM-dd hh:mm", string timeSpanFormat = "hh:mm:ss", bool pageLayoutView = false, bool showGridLines = false, TableStyles tableStyle = TableStyles.Dark9 ) : void
description string the produced file's description
fileName string the produced file's name
worksheetName string the WorksheetName
footer string Footer's Text
header string Header's Text
numberformat string Number format such as #,##0
dateTimeFormat string DateTime Format such as yyyy-MM-dd hh:mm
timeSpanFormat string TimeSpan Format such as hh:mm:ss
pageLayoutView bool Sets the view mode of the worksheet to PageLayout.
showGridLines bool Show GridLines in the worksheet.
tableStyle TableStyles the produced table's style
return void

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