Book a Demo

Author Topic: PutDiagramImageOnClipboard image resolution  (Read 4100 times)

rty

  • EA User
  • **
  • Posts: 28
  • Karma: +2/-1
    • View Profile
PutDiagramImageOnClipboard image resolution
« on: September 04, 2015, 06:10:08 pm »
Using the Project class OLE interface PutDiagramImageOnClipboard retrieves a diagram from EA and puts it into the clipboard. Unfortunately, the image resolution is unearthly bad. For a medium sized diagram (fits to half a page, format 'Letter'), the text is barely readable.

Any way to improve that?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: PutDiagramImageOnClipboard image resolution
« Reply #1 on: September 04, 2015, 06:19:20 pm »
I think the options
Tools|Options|General|Clipboard
and
Tools|Options|Diagram|Image Memory Limit

can be used to control that.

Geert

rty

  • EA User
  • **
  • Posts: 28
  • Karma: +2/-1
    • View Profile
Re: PutDiagramImageOnClipboard image resolution
« Reply #2 on: September 04, 2015, 08:09:45 pm »
Already tried that -- apologies that I did not mention that. Unfortunately, increasing the memory limit (set to 512 MB) and the clipboard options (already set to Metafile) did not solve the problem.
« Last Edit: September 04, 2015, 08:11:25 pm by rty »

rty

  • EA User
  • **
  • Posts: 28
  • Karma: +2/-1
    • View Profile
Re: PutDiagramImageOnClipboard image resolution
« Reply #3 on: September 04, 2015, 08:19:54 pm »
Hmph. Setting EA.Project.PutDiagramImageOnClipboard parameter Type to 1 (bitmap) improves the visual experience.