The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have a standard GridControl that I am printing with the GridPrintDocument support.
I derive from GridPrintDocument to override the OnPrintPage function, so I can add header data to the printout.
In the override, I call base.OnPrintPage(ev) to handle printing of the actual grid.
How can I set the grid to print a little bit down on the page, not at the top of the page where my header data is?
Thanks!
ADAdministrator Syncfusion Team October 13, 2004 01:05 PM UTC
Did you take a look at this KB?
http://www.syncfusion.com/Support/article.aspx?id=10376
It has a sample that sets the print document''s DefaultPageSettings.Margins to control where the grid is printed.
DADanOctober 13, 2004 02:26 PM UTC
argh - sorry, I should have seen that KB article. Works great.
Thanks for the great support!