GrapeCity MultiRow Windows Forms Documentation
Paging Mode

In the MultiRow control, you can allocate rows to pages when printing.

Flow Mode

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.

Flow Mode

Using Code

This example sets the PagingMode property to Flow.

[VB]

GcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.Flow

[CS]

gcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.Flow;

Single Row Mode

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.

Single Row Mode

Using Code

This example sets the PagingMode property to SingleRow.

[VB]

GcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.SingleRow

[CS]

gcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.SingleRow;

Multi Column Mode

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.

MultiColumnMode

Using Code

This example sets the PagingMode property to MultiColumns.

[VB]

GcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.MultiColumns

[CS]

gcMultiRow1.PrintSettings.PagingMode = GrapeCity.Win.MultiRow.PagingMode.MultiColumns;

You can set the column margin with the PrintSettings.ColumnMargin property.

See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options