Monday, June 22, 2009

[Tutorial] Visual Studio 2010 Beta 1
How to export UML Diagrams into Image Files

I recently used Visual Studio 2010 Beta 1 to create UML diagrams, which by the way is already working great. Then I wanted to export the diagrams into an image format to include them into specification documents, but there are no direct image exporting functionalities as of today (hopefully they will be added into the final release).

The following steps will allow you to export UML diagrams in the image format of your choice.

There are currently 2 ways of getting images from UML diagrams:

  • If the copy functionality is working, then you may copy and paste them directly from Visual Studio 2010 into your documents, but when you get the following error it won’t work

VS2010_Clipboard_Error

  • Use the integrated XPS printer to create an XPS file, then convert the file into the desired image format by using an external Freeware tool like for example “Converter for XPS Documents 1.0

Share/Save/Bookmark

1 comment:

Marius Muntean said...

I went through so much hassle to add the "Save As Image" command (which didn't work).

Then I came across your post and I simply copy&pasted the diagram in Word 2010 and it works flawlessly.