Add smartart graphics to Excel2010

Add-in Express™ Support Service
That's what is more important than anything else

Add smartart graphics to Excel2010
 
Noufal C P




Posts: 53
Joined: 2010-01-27
Hello... Is it any way to add smartart(shapes) object to excel2010 and format its properties (set nodes and its colors .etc.) with c# addin ? please help me soon..
Posted 09 Aug, 2011 05:40:46 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Noufal,

Yes, it is. Please take a look at the AddSmartArt function of the Shapes class in Excel. Is it what you are looking for?
.NET, Extended MAPI, Windows Phone & RT
Posted 09 Aug, 2011 06:16:32 Top
Noufal C P




Posts: 53
Joined: 2010-01-27
Thanx... Actually , i need to create Smartart layout with c# according to my data (need to create and add nodes) and add to excel ..is it possible? please help me soon..
Posted 10 Aug, 2011 02:07:17 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Noufal,

Yes, it is. To get assistance with host applications’ objects, their properties, and methods as well as help info, use the Object Browser. Go to the VBA environment (in the host application, choose menu Tools | Macro | Visual Basic Editor or just press {Alt+F11}), press {F2}, select the host application in the topmost combo and/or specify a search string in the search combo. Select a class /property /method and press {F1} to get the help topic that relates to the object.
.NET, Extended MAPI, Windows Phone & RT
Posted 10 Aug, 2011 04:22:00 Top
Noufal C P




Posts: 53
Joined: 2010-01-27
Thank you...
Posted 10 Aug, 2011 05:04:33 Top