C# Класс PdfRpt.Export.ExportToCsv

CSV DataExporter
Наследование: IDataExporter
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ClosingDocument ( ) : byte[]

Fires before closing the document

DocumentOpened ( IList pdfColumnsAttributes, DocumentPreferences documentPreferences ) : void

Fires when the document is opened.

ExportToCsv ( ) : System

ctor.

RowAdded ( IList cellsData, bool isNewGroupStarted ) : void

Fires after adding a row to the main table.

Приватные методы

Метод Описание
initWriter ( ) : void
isByteArray ( CellData item ) : bool
makeValueCsvFriendly ( object value ) : string

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

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

Fires before closing the document
public ClosingDocument ( ) : byte[]
Результат byte[]

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

Fires when the document is opened.
public DocumentOpened ( IList pdfColumnsAttributes, DocumentPreferences documentPreferences ) : void
pdfColumnsAttributes IList Sets columns definitions of the current report at startup
documentPreferences PdfRpt.Core.Contracts.DocumentPreferences Document settings.
Результат void

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

ctor.
public ExportToCsv ( ) : System
Результат System

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

Fires after adding a row to the main table.
public RowAdded ( IList cellsData, bool isNewGroupStarted ) : void
cellsData IList cells data
isNewGroupStarted bool Indicates starting a new group
Результат void