What are the printing options available in WinForms GridGroupingControl?
Printing
The Essential WinForms GridGroupingControl provides support to print column headers, row headers, horizontal and vertical lines through corresponding properties used in the control.
Printing Column and Row Headers
In order to print the column header and row header, the PrintColumnHeader and PrintRowHeader property can be used respectively.
C#
//To print with column headers
this.gridGroupingControl1.PrintColumnHeader = true;
//To print with row headers
this.gridGroupingControl1.PrintRowHeader = true;
VB
'To print with column headers
Me.gridGroupingControl1.PrintColumnHeader = True
'To print with row headers
Me.gridGroupingControl1.PrintRowHeader = True
Printing Horizontal and Vertical Lines
In order to print the horizontal and vertical lines of the grid, the PrintHorizontalLines and PrintVerticalLines property can be used.
C#
//To print horizontal lines
this.gridGroupingControl1.PrintHorizontalLines = true;
//To print vertical lines
this.gridGroupingControl1.PrintVerticalLines = true;
VB
'To print horizontal lines
Me.gridGroupingControl1.PrintHorizontalLines = True
'To print vertical lines
Me.gridGroupingControl1.PrintVerticalLines = True
The screenshot below illustrates the printing of row and column headers, as well as horizontal and vertical lines.
Samples:
Conclusion
I hope you enjoyed learning about the printing options available in
GridGroupingControl.
You can refer to our WinForms GridGroupingControl feature tour page to know about its other groundbreaking feature representations and WinForms GridGroupingControl documentation, and how to quickly get started for configuration specifications.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!