MultiRow Windows Forms > Developer's Guide > Using MultiRow > Print and Print Preview > Print Settings for each Column Header Section |
In MultiRow, you can set the printing method for each section of the column footer and the column header.
You can use the ColumnHeaderSection.PrintPagesMode property to set the printing method for each column header section.
This example sets properties for column headers.
Imports GrapeCity.Win.MultiRow Dim template = New Template1() template.ColumnHeaders(0).PrintPagesMode = PrintHeader.AllPages template.ColumnHeaders(1).PrintPagesMode = PrintHeader.FirstPage GcMultiRow1.Template = template |
using GrapeCity.Win.MultiRow; Template template = new Template1(); template.ColumnHeaders[0].PrintPagesMode = PrintHeader.AllPages; template.ColumnHeaders[1].PrintPagesMode = PrintHeader.FirstPage; gcMultiRow1.Template = template; |
You can use the ColumnFooterSection.PrintPagesMode property to set the printing method for each column footer section.
This example sets properties for column footers.
Imports GrapeCity.Win.MultiRow Dim template = New Template1() template.ColumnFooters(0).PrintPagesMode = PrintFooter.AllPages template.ColumnFooters(1).PrintPagesMode = PrintFooter.LastPage GcMultiRow1.Template = template |
using GrapeCity.Win.MultiRow; Template template = new Template1(); template.ColumnFooters[0].PrintPagesMode = PrintFooter.AllPages; template.ColumnFooters[1].PrintPagesMode = PrintFooter.LastPage; gcMultiRow1.Template = template; |