With Enterprise Architect (Version 9.2), I created some Class and Sequence UML Diagrams. Now I need those Diagrams in a Word document.
My first approach was to just cut them out with the Windows 7 Snipping Tool and paste them into the document. But for printing purposes the quality was way too poor.
The second approach was to "Save them as Images" as offered in Enterprise Architect. But with this, the quality was even worse.
The third way was to export them into a pdf file. With this the quality was quite decent and I could import those pdfs into Inkscape and then convert them into *.png files to import them to word. The problem is, that Enterprise Architect kinda fails with the fonts. Meaning the picture itself has high-quality, but it tries to convert the font of the classes and then I have some spaces between letters where there should be none.
So long story short - is there a way to export my UML Diagrams from Enterprise Architect to a common picture format like .png
or .tiff
, while retaining decent quality?
On the 'Save As Image' dialog, select the appropriate folder location for the file. In the 'File name' field, type the file name to save the image under. In the 'Save as type' field, click on the drop-down arrow and select the appropriate graphic format. Click on the Save button.
Right-click in the diagram and click File > Save as Image File. In the Save as Image File window, in the Folder field, specify where to save the image file. In the File Name field, type a file name. From the Image Format list, select a file format.
As I'm sure you're already aware, you can save a diagram as an image in several formats, including PNG but not TIFF.
The quality of the images can be controlled in the options (Tools - Options), "Diagram" tab. The "Image Memory Limit" controls the amount of memory the image conversion process is allowed; increasing this should improve the quality of large diagrams. "Scale Saved Bitmaps to" allows you to set a higher resolution for the images.
I haven't checked whether these also affect the copy-to-clipboard function (in the Diagram menu or CTRL+B), which is the way I usually copy diagrams into documents.
To have diagrams in word there is very easy way.
Simply, open diagram in ea then select all with CTRL+A, then copy CTRL+C, go in word and just do paste CTRL+V. Easy and perfect quality.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With