jonathan Posted September 25, 2009 Report Share Posted September 25, 2009 Hello, I have a problem in display PrintPreview or print one / two picture chart. What happens is that the zoom in on certain areas, and ask to appear on the screen the print preview, the area zoom previous lost. example code: void pd_Print(object sender, PrintPageEventArgs e) { Graphics g = e.Graphics; Rectangle r2 = new Rectangle(30, 30 , 1006 , 300); MemoryStream stream2 = new MemoryStream(); chart2.Export(FileFormat.Metafile, stream2); stream2.Position = 0; Image metaImage2 = Image.FromStream(stream2); g.DrawImageUnscaledAndClipped(metaImage2, r2); stream2.Close(); } --------------------- How could I do to the chart does not change the zoom area before? 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.