C# Class PdfRpt.FluentInterface.PdfReport

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Method Details

DefaultFonts() public méthode

Sets the documents's default fonts.
public DefaultFonts ( Action pdfRptDefaultFontsBuilder ) : PdfReport
pdfRptDefaultFontsBuilder Action
Résultat PdfReport

DocumentPreferences() public méthode

Document settings
public DocumentPreferences ( Action pdfRptPagePreferencesBuilder ) : PdfReport
pdfRptPagePreferencesBuilder Action Document settings builder
Résultat PdfReport

Encrypt() public méthode

Sets the encryption preferences for this document.
public Encrypt ( Action pdfRptEncryptedFileBuilder ) : PdfReport
pdfRptEncryptedFileBuilder Action encryption preferences builder
Résultat PdfReport

Export() public méthode

Sets the desired exporters such as ExportToExcel. You can set multiple exporters here.
public Export ( Action pdfRptExportToBuilder ) : PdfReport
pdfRptExportToBuilder Action DataExporter Builder
Résultat PdfReport

Generate() public méthode

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

GenerateAsByteArray() public méthode

Generates the final PDF file.
public GenerateAsByteArray ( bool debugMode = false ) : byte[]
debugMode bool
Résultat byte[]

MainTableAdHocColumnsConventions() public méthode

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

MainTableColumns() public méthode

Defining how a property of MainTableDataSource should be rendered as a column's cell.
public MainTableColumns ( Action mainTableColumnsBuilder ) : PdfReport
mainTableColumnsBuilder Action Columns Builder
Résultat PdfReport

MainTableDataSource() public méthode

Main table's data source. The data to render.
public MainTableDataSource ( Action mainTableDataSourceBuilder ) : PdfReport
mainTableDataSourceBuilder Action Data Source Builder
Résultat PdfReport

MainTableEvents() public méthode

Sets the Main table's cells and rows events.
public MainTableEvents ( Action mainTableEventsBuilder ) : PdfReport
mainTableEventsBuilder Action Events Builder
Résultat PdfReport

MainTablePreferences() public méthode

MainTable's general properties
public MainTablePreferences ( Action pdfRptMainTablePreferencesBuilder ) : PdfReport
pdfRptMainTablePreferencesBuilder Action MainTable's general properties builder
Résultat PdfReport

MainTableSummarySettings() public méthode

Pages and groups summary values settings
public MainTableSummarySettings ( Action mainTableSummarySettingsBuilder ) : PdfReport
mainTableSummarySettingsBuilder Action Summary Settings Builder
Résultat PdfReport

MainTableTemplate() public méthode

Sets the default template.
public MainTableTemplate ( Action mainTableTemplateBuilder ) : PdfReport
mainTableTemplateBuilder Action Template Builder
Résultat PdfReport

PagesFooter() public méthode

Defines custom footer of the each page.
public PagesFooter ( Action pagesFooterBuilder ) : PdfReport
pagesFooterBuilder Action Pages Footer Builder
Résultat PdfReport

PagesHeader() public méthode

Defines dynamic headers for pages and individual groups.
public PagesHeader ( Action pagesHeaderBuilder ) : PdfReport
pagesHeaderBuilder Action Pages Header Builder
Résultat PdfReport

PdfReport() public méthode

ctor.
public PdfReport ( ) : System
Résultat System

Sign() public méthode

Sets ths digital signature's info.
public Sign ( Action pdfRptSignedFileBuilder ) : PdfReport
pdfRptSignedFileBuilder Action digital signature's info builder
Résultat PdfReport