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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Printing Grid one page wide many pages high

Thread ID:





69679 Nov 7,2007 07:52 PM UTC Nov 23,2007 07:46 PM UTC WinForms 3
Tags: GridControl
Todd Swygert
Asked On November 7, 2007 07:52 PM UTC

I'm trying to print a grid with a fit to page width of one, but as many pages high as needed. Is this possible with easy changes to the PrintAsBitmap_2005 sample? Do you have any suggestions?

Or does the print preview have a fit to page height and width functionality?


J.Nagarajan [Syncfusion]
Replied On November 7, 2007 08:51 PM UTC

Hi Todd,

Please refer this sample which prints all the columns in a single page and the rows in multiple pages. You can increase the number of rows and see the effect.

Here is the sample:

Please let me know if this helps.


Todd Swygert
Replied On November 7, 2007 09:29 PM UTC

Thanks for the effort. The printed grid separates correctly, but unfortunately the font is blurry and unreadable. The unaltered sample was able to print the grid very clear although much smaller. I’ll see if I can make some changes with what you gave me. If you have any ideas, let me know.

Once again, thanks,

J.Nagarajan [Syncfusion]
Replied On November 23, 2007 07:46 PM UTC

Hi Todd ,

Kindly accept our sincere apologies for the delay in getting back to you.

To get the clear image of grid in Print preview dialog, you have to set SmoothingMode to AntiAlias and InterpolationMode of graphics object to HighQualityBicubic. Please refer to the following code snippet.


Graphics g = Graphics.FromImage(bm);
g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
g.InterpolationMode = InterpolationMode.HighQualityBicubic;

I have attached the sample for your reference.


Please refer to it and let me know if this helps.



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

or the page will be automatically redirected to 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