We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to change the top position of printed grid

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!

2 Replies

AD Administrator 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.

DA Dan October 13, 2004 02:26 PM UTC

argh - sorry, I should have seen that KB article. Works great. Thanks for the great support!

Live Chat Icon For mobile
Up arrow icon