C# Class PdfRpt.FluentInterface.MainTablePreferencesBuilder

MainTable Preferences Builder Class.
Mostrar archivo Open project: VahidN/PdfReport Class Usage Examples

Public Methods

Method 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 method

Determines the WidthType of the column.
public ColumnsWidthsType ( TableColumnWidthType widthType ) : void
widthType TableColumnWidthType
return void

GroupsPreferences() public method

Groups Preferences.
public GroupsPreferences ( GroupsPreferences preferences ) : void
preferences PdfRpt.Core.Contracts.GroupsPreferences Groups Preferences
return void

HorizontalStackPanelPreferences() public method

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
return void

KeepTogether() public method

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
return void

MainTablePreferencesBuilder() public method

ctor.
public MainTablePreferencesBuilder ( PdfReport pdfReport ) : PdfRpt.Core.Contracts
pdfReport PdfReport
return PdfRpt.Core.Contracts

MainTableType() public method

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

MultipleColumnsPerPage() public method

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
return void

NumberOfDataRowsPerPage() public method

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
return void

ShowHeaderRow() public method

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
return void

SpacingAfter() public method

Spacing after the main table.
public SpacingAfter ( float spacing ) : void
spacing float
return void

SpacingBefore() public method

Spacing before the main table.
public SpacingBefore ( float spacing ) : void
spacing float
return void

SplitLate() public method

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
return void

SplitRows() public method

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
return void