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.

Drawing high-quality image of a grid with GDI+

Thread ID:

Created:

Updated:

Platform:

Replies:

11370 Mar 3,2004 04:01 PM Mar 3,2004 04:46 PM Windows Forms 1
loading
Tags: GridControl
Matt Straczek
Asked On March 3, 2004 04:01 PM

I create .jpg image from an instance of Syncfusion.Windows.Forms.Grid.GridControl. (I used PrintAsBitmap sample project as a guideline for my code.) However, the quality of .jpg image is really poor. Is anyone aware of any articles / code samples / postings that deal with creating high-quality images from an instance of Syncfusion.Windows.Forms.Grid.GridControl?

Administrator [Syncfusion]
Replied On March 3, 2004 04:46 PM

The PrintAsBitmap just compreeses or expands the bitmap to fit the target rectangle. This will lose quality unless the target rectangle is the exact size of the original grid. So, one possible solution is to try to redraw a zoomed grid so the original grid is the exact size of your target area before you do the PrintAsBitmap. Currently, ther eis no built in zoom functionality though it is on our to-do for a future version. Here is a link to a forum thread that has a zoom sample. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=6367

CONFIRMATION

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.

;