wordpress hit counter
Re: access smartart type exactly - .Net - Development Tools - OpenXML Developer

Re: access smartart type exactly

Development Tools

Discussions about working with Open XML using a wide range of development tools

access smartart type exactly

  • rated by 0 users
  • This post has 1 Reply |
  • 1 Follower
  • 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();
  • 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)