Join
Sign in
Search Options
Search Everything
Search Development Tools
Home
Blog
Resources
Forums
About Open XML
More ...
Home
»
Forums
»
Development Tools
»
.Net
»
access smartart type exactly
Re: access smartart type exactly
Development Tools
Discussions about working with Open XML using a wide range of development tools
Get this RSS feed
Details
1
Reply
1
Subscriber
Posted
over 2 years ago
Options
Subscribe via RSS
Share this
.Net
access smartart type exactly
rated by 0 users
This post has
1 Reply |
1
Follower
Mazen
20
Posted by
Mazen
on
Mon, Mar 1 2010 8:19 AM
rated by 0 users
Post Points: 20
access smartart type exactly
Hello , I have this code with it i am accessing the datagram but I cant know its type , can someone tell me how to know what type is it ? like labeled or organizational hierarcy ??
PresentationDocument myPresentation = PresentationDocument.Open(PowerPointManager.OrganizationlChart, false);
PresentationPart presentationPart = myPresentation.PresentationPart;
SlidePart slide2 = (SlidePart)presentationPart.GetPartById("rId2");
if (slide2.DiagramDataParts.Count() > 0)
{
DiagramDataPart myOrganizational = slide2.DiagramDataParts.First();
Intergen
2610
Posted by
Intergen
on
Thu, Apr 15 2010 6:41 AM
rated by 0 users
Post Points: 5
Re: access smartart type exactly
Hi there
Check the property of the "DiagramDataPart" class
http://msdn.microsoft.com/en-us/library/documentformat.openxml.packaging.diagramdatapart_properties%28v=office.14%29.aspx
Hope it helps.
Page 1 of 1 (2 items)