C# Class PdfRpt.FluentInterface.ExportToBuilder

PdfRpt DataExporter Builder Class.
Afficher le fichier Open project: VahidN/PdfReport Class Usage Examples

Méthodes publiques

Méthode 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 méthode

ctor.
public ExportToBuilder ( PdfReport pdfReport ) : System.Collections.Generic
pdfReport PdfReport
Résultat System.Collections.Generic

ToCsv() public méthode

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
Résultat void

ToCustomFormat() public méthode

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

ToExcel() public méthode

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
Résultat void

ToXml() public méthode

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
Résultat void