T O P I C R E V I E W |
swbo101 |
Posted - 09 Feb 2011 : 10:19:47 I see the documentation on how to buffer an image out to a file. I'd just like to know is there a way to do this WITHOUT having to display the image to the user at all. I am looking to use this tool in .Net with office automation. My goal is to create a front end where the use can select the graphs, along with any other parameters and then the image is generated so that it can be embedded in a Powerpoint presentation. I'd like to do this without the user having to have another window popup with the graph.
Thanks |
2 L A T E S T R E P L I E S (Newest First) |
swbo101 |
Posted - 14 Feb 2011 : 10:45:41 Thanks....worked great!!! |
quinncurtis |
Posted - 09 Feb 2011 : 11:10:24 A chart is only displayed when it is added to a form. If you don't want to see it, size it explicitly and do not add it to a form. Then you can print, or save it to a file, exactly as if it was displayed.
xBarRChart1 = new XBarRChart(); xBarRChart1.Size = new Size(1000, 800);
//tabPage1.Controls.Add(xBarRChart1);
In the QCChart2D manual you will see in Chapter 23 - File and Printer Rendering Classes, a discussion of "Headless Rendering of Charts". |
|
|