Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 17th, 2005, 05:06 AM
Authorized User
 
Join Date: Oct 2004
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dotnetprogrammer
Default powerpoint and c#

Hi,

I had a template powerpoint slide which had two objects placed in it - one is chart and other is textbox. There is no problem with the textbox. I can access it through my c# code and can insert data to it. I am able to get the reference of chart object but I didn't able to set different properties of it.
This is how I am getting the chart reference:
Microsoft.Office.Interop.Graph.Chart oChart;
Microsoft.Office.Interop.PowerPoint.Slide oSlide; // this has been set to my template slide
oChart = (Microsoft.Office.Interop.Graph.Chart)(oSlide.Shap es[1].OLEFormat.Object);

Now I need to set its datasheet property(before putting my values in it I would like to delete its old values), Axes labels, Chart title...

Any help will be greatly appreciated

Regards

Saurabh

dotnet
__________________
dotnet





Similar Threads
Thread Thread Starter Forum Replies Last Post
Powerpoint in HTML anukagni HTML Code Clinic 2 November 22nd, 2007 08:40 AM
Download to powerpoint vgvkarthik ASP.NET 1.0 and 1.1 Basics 1 May 8th, 2007 06:54 AM
Powerpoint msgbox Xarg@xog Forum and Wrox.com Feedback 1 May 26th, 2005 05:55 AM
how to highlight in Powerpoint haiying Access VBA 6 April 6th, 2005 08:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.