Category / Section
How to print a grid from left margin in WinForms GridGroupingControl?
1 min read
The GridGroupingControl can be printed from left margin by setting the CenterHorizontal property to false that is true by default. This property specifies when the Grid should be centered horizontally on the page while printing.
C#
//Print Grid from Left margin. this.gridGroupingControl1.TableModel.Properties.CenterHorizontal = false;
VB
'Print Grid from Left margin. Me.gridGroupingControl1.TableModel.Properties.CenterHorizontal = False
Screenshot
When CenterHorizontal = true,
When CenterHorizontal = false,
Samples:
Reference link: https://help.syncfusion.com/windowsforms/gridgrouping/printing