Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: rty on September 04, 2015, 06:10:08 pm

Title: PutDiagramImageOnClipboard image resolution
Post by: rty 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?
Title: Re: PutDiagramImageOnClipboard image resolution
Post by: Geert Bellekens 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
Title: Re: PutDiagramImageOnClipboard image resolution
Post by: rty 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.
Title: Re: PutDiagramImageOnClipboard image resolution
Post by: rty on September 04, 2015, 08:19:54 pm
Hmph. Setting EA.Project.PutDiagramImageOnClipboard parameter Type to 1 (bitmap) improves the visual experience.