MultiRow Windows Forms > Developer's Guide > Using MultiRow > Print and Print Preview > Paging Mode |
In the MultiRow control, you can allocate rows to pages when printing.
Rows are arranged based on the page height and are printed sequentially. This is the default mode. You can enable flow mode by setting the PrintSettings.PagingMode property to Flow.
This example sets the PagingMode property to Flow.
GcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.Flow |
gcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.Flow; |
This mode prints only one row per page and is useful for treating one row as one detail. You can enable single row mode by setting the PrintSettings.PagingMode property to SingleRow.
This example sets the PagingMode property to SingleRow.
GcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.SingleRow |
gcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.SingleRow; |
This mode prints rows horizontally with the same size. The rows are placed in the shape of an N character from top to bottom and left to right. This mode is applied to print the maximum number of rows in a single page. You can enable multiple column mode by setting the PrintSettings.PagingMode property to MultiColumns.
This example sets the PagingMode property to MultiColumns.
GcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.MultiColumns |
gcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.MultiColumns; |
You can set the column margin with the PrintSettings.ColumnMargin property.