Book a Demo

Author Topic: Reference to Diagram Images as Objects  (Read 3628 times)

Rich Anderson

  • EA User
  • **
  • Posts: 142
  • Karma: +8/-0
    • View Profile
    • LinkedIn
Reference to Diagram Images as Objects
« on: April 11, 2018, 03:01:08 pm »
Hi There,    I would like to be able to generate a PowerPoint presentation from EA using VB.net.  However, I don't see any easy way to get a reference to the diagram image as an object through the API.  Anyone know how to do this or do I need to access the image through SQL?
Rich Anderson
Urgnt Limited

Arshad

  • EA User
  • **
  • Posts: 291
  • Karma: +21/-1
    • View Profile
Re: Reference to Diagram Images as Objects
« Reply #1 on: April 11, 2018, 03:47:05 pm »
Hi Rich

Please have a try on Power point Integration for Enterprise Architect

You can directly export object details and diagrams to power point directly from enterprise architect.
Key point is you can synchronise items in powerpoint with latest items in EA.


For more details please refer Publish model contents to PowerPoint presentations


HTH
Arshad
« Last Edit: April 11, 2018, 03:56:18 pm by Arshad »

Rich Anderson

  • EA User
  • **
  • Posts: 142
  • Karma: +8/-0
    • View Profile
    • LinkedIn
Re: Reference to Diagram Images as Objects
« Reply #2 on: April 13, 2018, 02:22:20 pm »
Thanks for letting me know about that.  I had checked it out before, but what I need is something that I have more control over.   So it looks like there is no way to access the images as a BLOB using the API, right?  If I want that, then it appears that I will have to use a table query using the Jet API.   Right?
Rich Anderson
Urgnt Limited

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Reference to Diagram Images as Objects
« Reply #3 on: April 13, 2018, 04:00:14 pm »
You simply export the diagram to a file (Diagram.SaveImagePage or ProjectInterface.SaveDiagramImageToFile) and use that file.

q.
« Last Edit: April 13, 2018, 04:02:39 pm by qwerty »