C# Класс PdfRpt.FluentInterface.ExportToBuilder

PdfRpt DataExporter Builder Class.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ExportToBuilder() публичный Метод

ctor.
public ExportToBuilder ( PdfReport pdfReport ) : System.Collections.Generic
pdfReport PdfReport
Результат System.Collections.Generic

ToCsv() публичный Метод

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
Результат void

ToCustomFormat() публичный Метод

Sets the desired exporters such as ExportToExcel.
public ToCustomFormat ( IDataExporter exportSettings ) : void
exportSettings IDataExporter export settings
Результат void

ToExcel() публичный Метод

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
Результат void

ToXml() публичный Метод

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
Результат void