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.
Unfortunately, activation email could not send to your email. Please try again.

How to change the top position of printed grid

Thread ID:





20233 Oct 12,2004 05:29 PM Oct 13,2004 10:26 AM Windows Forms 2
Tags: GridControl
Asked On October 12, 2004 05:29 PM

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!

Administrator [Syncfusion]
Replied On October 13, 2004 09:05 AM

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.

Replied On October 13, 2004 10:26 AM

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.