User (Legacy) Posted January 10, 2000 Report Share Posted January 10, 2000 I try to save a thumbnail of the Chart into a JPEG picture. This is what I have done: I first create a memDC (100x100). then I call: // paint on the memDC m_chart.Paint((LONG)memDC.m_hDC, 0, 0, 100, 100, CPAINT_BKGND, 0); // show it on the screen CDC *pdc = CDC::FromHandle (::GetDC (NULL)); pdc->BitBlt (0, 0, 100, 100, &memDC, 0, 0, SRCCOPY); // ... save as jpeg.... ........ What I got is a small picture. I wonder how you guys did it in the print preview. I would love to save that tiny picture as a thumbnail. Thanks Frank Liang Broadbase Software. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.