C# 클래스 PdfRpt.FluentInterface.MainTablePreferencesBuilder

MainTable Preferences Builder Class.
파일 보기 프로젝트 열기: VahidN/PdfReport 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

ColumnsWidthsType() 공개 메소드

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

GroupsPreferences() 공개 메소드

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

HorizontalStackPanelPreferences() 공개 메소드

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
리턴 void

KeepTogether() 공개 메소드

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
리턴 void

MainTablePreferencesBuilder() 공개 메소드

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

MainTableType() 공개 메소드

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

MultipleColumnsPerPage() 공개 메소드

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
리턴 void

NumberOfDataRowsPerPage() 공개 메소드

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
리턴 void

ShowHeaderRow() 공개 메소드

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
리턴 void

SpacingAfter() 공개 메소드

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

SpacingBefore() 공개 메소드

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

SplitLate() 공개 메소드

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
리턴 void

SplitRows() 공개 메소드

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
리턴 void