Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# graphics printing
I draw a chart by graphic lines in Visual Studio Power Packs and now I want to print form but I can't see chart in print page, why?
How I can fix it?
It's very important please help me.
Posted 14-Sep-11 20:51pm
Edited 14-Sep-11 21:31pm
Uma Shankar Patel at 15-Sep-11 2:58am
what you have tried!
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you want to print form then try to use Visual Basic PrintForm control.
It is available in visual studio tool box under visual basic poer packs.
hope it works.
AmirAli1374 at 15-Sep-11 3:05am
I used, but didn't work.
Uma Shankar Patel at 15-Sep-11 4:29am
share code that u have use to print
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

You need to use the Chart control's Printing property to print the chart picture in Chart Control.
To print the chart picture in a document that contains other document elements, invoke the PrintPaint method inside a PrintPageEventHandler. You must pass to the PrintPaint method the Graphics property from the PrintPageEventArgs object, along with a Rectangle object that defines the position of the chart picture in the document.
Reference Link :- MSDN-Chart Printing (Chart Controls)[^]
AmirAli1374 at 15-Sep-11 3:04am
No, that's a graphical shape not really a chart.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 365
1 Nirav Prabtani 252
2 Richard Deeming 215
3 CHill60 170
4 _Amy 145
0 OriginalGriff 8,104
1 Sergey Alexandrovich Kryukov 7,045
2 Maciej Los 4,039
3 Peter Leow 3,738
4 CHill60 2,912

Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 15 Sep 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100