Book a Demo

Author Topic: How to get the image of diagram  (Read 2654 times)

fanweik

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
How to get the image of diagram
« on: November 24, 2009, 11:50:48 pm »
Hello, all,
I am writing an Addin for Enterprise Architect with C#, and have a question, is it possible in EA through COM interface to get the raw image or jpg file of the diagram? If yes, which function in COM can I call to get it? If no, are there any other ways in C# code?

Thanks.
« Last Edit: November 24, 2009, 11:51:47 pm by fanweik »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to get the image of diagram
« Reply #1 on: November 25, 2009, 01:26:55 am »
Project Interface.PutDiagramImageOnClipboard or PutDiagramImageToFile

should do it.

Geert