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

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

Private Properties

Свойство Тип Описание

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

Метод Описание
DefaultFonts ( Action pdfRptDefaultFontsBuilder ) : PdfReport

Sets the documents's default fonts.

DocumentPreferences ( Action pdfRptPagePreferencesBuilder ) : PdfReport

Document settings

Encrypt ( Action pdfRptEncryptedFileBuilder ) : PdfReport

Sets the encryption preferences for this document.

Export ( Action pdfRptExportToBuilder ) : PdfReport

Sets the desired exporters such as ExportToExcel. You can set multiple exporters here.

Generate ( Action pdfRptFileBuilder, bool debugMode = false ) : IPdfReportData

Generates the final PDF file.

GenerateAsByteArray ( bool debugMode = false ) : byte[]

Generates the final PDF file.

MainTableAdHocColumnsConventions ( Action mainTableAdHocColumnsConventionsBuilder ) : PdfReport

If you don't set PdfColumnsDefinitions, list of the main table's columns will be extracted from MainTableDataSource automatically. Here you can control how cells should be rendered based on their specific data types.

MainTableColumns ( Action mainTableColumnsBuilder ) : PdfReport

Defining how a property of MainTableDataSource should be rendered as a column's cell.

MainTableDataSource ( Action mainTableDataSourceBuilder ) : PdfReport

Main table's data source. The data to render.

MainTableEvents ( Action mainTableEventsBuilder ) : PdfReport

Sets the Main table's cells and rows events.

MainTablePreferences ( Action pdfRptMainTablePreferencesBuilder ) : PdfReport

MainTable's general properties

MainTableSummarySettings ( Action mainTableSummarySettingsBuilder ) : PdfReport

Pages and groups summary values settings

MainTableTemplate ( Action mainTableTemplateBuilder ) : PdfReport

Sets the default template.

PagesFooter ( Action pagesFooterBuilder ) : PdfReport

Defines custom footer of the each page.

PagesHeader ( Action pagesHeaderBuilder ) : PdfReport

Defines dynamic headers for pages and individual groups.

PdfReport ( ) : System

ctor.

Sign ( Action pdfRptSignedFileBuilder ) : PdfReport

Sets ths digital signature's info.

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

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

Sets the documents's default fonts.
public DefaultFonts ( Action pdfRptDefaultFontsBuilder ) : PdfReport
pdfRptDefaultFontsBuilder Action
Результат PdfReport

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

Document settings
public DocumentPreferences ( Action pdfRptPagePreferencesBuilder ) : PdfReport
pdfRptPagePreferencesBuilder Action Document settings builder
Результат PdfReport

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

Sets the encryption preferences for this document.
public Encrypt ( Action pdfRptEncryptedFileBuilder ) : PdfReport
pdfRptEncryptedFileBuilder Action encryption preferences builder
Результат PdfReport

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

Sets the desired exporters such as ExportToExcel. You can set multiple exporters here.
public Export ( Action pdfRptExportToBuilder ) : PdfReport
pdfRptExportToBuilder Action DataExporter Builder
Результат PdfReport

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

Generates the final PDF file.
public Generate ( Action pdfRptFileBuilder, bool debugMode = false ) : IPdfReportData
pdfRptFileBuilder Action Pdf RptFile Builder Settings
debugMode bool Run in debug mode
Результат IPdfReportData

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

Generates the final PDF file.
public GenerateAsByteArray ( bool debugMode = false ) : byte[]
debugMode bool
Результат byte[]

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

If you don't set PdfColumnsDefinitions, list of the main table's columns will be extracted from MainTableDataSource automatically. Here you can control how cells should be rendered based on their specific data types.
public MainTableAdHocColumnsConventions ( Action mainTableAdHocColumnsConventionsBuilder ) : PdfReport
mainTableAdHocColumnsConventionsBuilder Action Conventions Builder
Результат PdfReport

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

Defining how a property of MainTableDataSource should be rendered as a column's cell.
public MainTableColumns ( Action mainTableColumnsBuilder ) : PdfReport
mainTableColumnsBuilder Action Columns Builder
Результат PdfReport

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

Main table's data source. The data to render.
public MainTableDataSource ( Action mainTableDataSourceBuilder ) : PdfReport
mainTableDataSourceBuilder Action Data Source Builder
Результат PdfReport

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

Sets the Main table's cells and rows events.
public MainTableEvents ( Action mainTableEventsBuilder ) : PdfReport
mainTableEventsBuilder Action Events Builder
Результат PdfReport

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

MainTable's general properties
public MainTablePreferences ( Action pdfRptMainTablePreferencesBuilder ) : PdfReport
pdfRptMainTablePreferencesBuilder Action MainTable's general properties builder
Результат PdfReport

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

Pages and groups summary values settings
public MainTableSummarySettings ( Action mainTableSummarySettingsBuilder ) : PdfReport
mainTableSummarySettingsBuilder Action Summary Settings Builder
Результат PdfReport

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

Sets the default template.
public MainTableTemplate ( Action mainTableTemplateBuilder ) : PdfReport
mainTableTemplateBuilder Action Template Builder
Результат PdfReport

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

Defines custom footer of the each page.
public PagesFooter ( Action pagesFooterBuilder ) : PdfReport
pagesFooterBuilder Action Pages Footer Builder
Результат PdfReport

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

Defines dynamic headers for pages and individual groups.
public PagesHeader ( Action pagesHeaderBuilder ) : PdfReport
pagesHeaderBuilder Action Pages Header Builder
Результат PdfReport

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

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

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

Sets ths digital signature's info.
public Sign ( Action pdfRptSignedFileBuilder ) : PdfReport
pdfRptSignedFileBuilder Action digital signature's info builder
Результат PdfReport