C# Class PdfRpt.FluentInterface.MainTablePreferencesBuilder

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

Méthodes publiques

Méthode Description
ColumnsWidthsType ( TableColumnWidthType widthType ) : void

Determines the WidthType of the column.

GroupsPreferences ( GroupsPreferences preferences ) : void

Groups Preferences.

HorizontalStackPanelPreferences ( int columnsPerRow ) : void

If MainTableType is set to HorizontalStackPanel, here you can define its preferences such as number of columns per row. Please note that All columns and properties of an object will create a single cell here.

KeepTogether ( bool keep ) : void

If true, the table will be kept on one page if it fits, by forcing a new page if it doesn't fit on the current page.

MainTablePreferencesBuilder ( PdfReport pdfReport ) : PdfRpt.Core.Contracts

ctor.

MainTableType ( TableType tableType ) : void

Sets the TableType. Its default value is a noraml PdfGrid.

MultipleColumnsPerPage ( PdfRpt.Core.Contracts.MultipleColumnsPerPage multipleColumns ) : void

Wrapping main table in multiple columns per pages.

NumberOfDataRowsPerPage ( int rowsPerPage ) : void

If sets to zero, NumberOfDataRowsPerPage will be calculated automatically, otherwise as specified. Its default value is 0.

ShowHeaderRow ( bool show ) : void

Sets the visibility of the main table's header row. It's true by default.

SpacingAfter ( float spacing ) : void

Spacing after the main table.

SpacingBefore ( float spacing ) : void

Spacing before the main table.

SplitLate ( bool split ) : void

Split the cells of the first row that doesn't fit the page. If true, a that row doesn't fit on the page, its complete row will be forwarded to the next page. If false, rows that are too high to fit on a page will be dropped from the table. Its default value is true.

SplitRows ( bool split ) : void

If true, splits rows that are forwarded to the next page but that still don't fit because the row height exceeds the available page height. Its default value is true.

Method Details

ColumnsWidthsType() public méthode

Determines the WidthType of the column.
public ColumnsWidthsType ( TableColumnWidthType widthType ) : void
widthType TableColumnWidthType
Résultat void

GroupsPreferences() public méthode

Groups Preferences.
public GroupsPreferences ( GroupsPreferences preferences ) : void
preferences PdfRpt.Core.Contracts.GroupsPreferences Groups Preferences
Résultat void

HorizontalStackPanelPreferences() public méthode

If MainTableType is set to HorizontalStackPanel, here you can define its preferences such as number of columns per row. Please note that All columns and properties of an object will create a single cell here.
public HorizontalStackPanelPreferences ( int columnsPerRow ) : void
columnsPerRow int number of columns per row
Résultat void

KeepTogether() public méthode

If true, the table will be kept on one page if it fits, by forcing a new page if it doesn't fit on the current page.
public KeepTogether ( bool keep ) : void
keep bool
Résultat void

MainTablePreferencesBuilder() public méthode

ctor.
public MainTablePreferencesBuilder ( PdfReport pdfReport ) : PdfRpt.Core.Contracts
pdfReport PdfReport
Résultat PdfRpt.Core.Contracts

MainTableType() public méthode

Sets the TableType. Its default value is a noraml PdfGrid.
public MainTableType ( TableType tableType ) : void
tableType TableType Value of the TableType
Résultat void

MultipleColumnsPerPage() public méthode

Wrapping main table in multiple columns per pages.
public MultipleColumnsPerPage ( PdfRpt.Core.Contracts.MultipleColumnsPerPage multipleColumns ) : void
multipleColumns PdfRpt.Core.Contracts.MultipleColumnsPerPage multiple columns per page
Résultat void

NumberOfDataRowsPerPage() public méthode

If sets to zero, NumberOfDataRowsPerPage will be calculated automatically, otherwise as specified. Its default value is 0.
public NumberOfDataRowsPerPage ( int rowsPerPage ) : void
rowsPerPage int number of data rows per page
Résultat void

ShowHeaderRow() public méthode

Sets the visibility of the main table's header row. It's true by default.
public ShowHeaderRow ( bool show ) : void
show bool show header row
Résultat void

SpacingAfter() public méthode

Spacing after the main table.
public SpacingAfter ( float spacing ) : void
spacing float
Résultat void

SpacingBefore() public méthode

Spacing before the main table.
public SpacingBefore ( float spacing ) : void
spacing float
Résultat void

SplitLate() public méthode

Split the cells of the first row that doesn't fit the page. If true, a that row doesn't fit on the page, its complete row will be forwarded to the next page. If false, rows that are too high to fit on a page will be dropped from the table. Its default value is true.
public SplitLate ( bool split ) : void
split bool
Résultat void

SplitRows() public méthode

If true, splits rows that are forwarded to the next page but that still don't fit because the row height exceeds the available page height. Its default value is true.
public SplitRows ( bool split ) : void
split bool
Résultat void