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

How to change the top position of printed grid

Thread ID:





20233 Oct 12,2004 09:29 PM UTC Oct 13,2004 02:26 PM UTC WinForms 2
Tags: GridControl
Asked On October 12, 2004 09:29 PM UTC

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

Replied On October 13, 2004 02:26 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon