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
|