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.

Printing Grid one page wide many pages high

Thread ID:





69679 Nov 7,2007 02:52 PM Nov 23,2007 02:46 PM Windows Forms 3
Tags: GridControl
Todd Swygert
Asked On November 7, 2007 02:52 PM

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 03:51 PM

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 04:29 PM

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 02:46 PM

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.

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.