Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 SPC Control Chart Tools for .Net
 Buffering Image

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

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".

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07