Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using VS 2010 with Feature Pack 2 installed. The Architecture explorer allows me to create class diagrams and sequence diagrams. They look great but I can't find a way to create an image from them. I can [CTRL]+a to select all and copy then paste. I would rather there was something like a right click and Save As... image or PDF or have a Copy Image like some other diagrams have. Is this functionality available for sequence and class diagrams or am I doing it the only way possible?

Thanks
Kalvin
Posted

According to MSDN[^], File|Print does the trick. :)
 
Share this answer
 
Comments
Kalvin @ Work 21-Apr-11 11:38am    
Wouldn't this just send it to the printer. I want an image so I can paste it in email, Word, or Powerpoint.
Henry Minute 21-Apr-11 11:39am    
Sorry, my bad. Misread the question. :(
Henry Minute 21-Apr-11 11:40am    
Try http://msdn.microsoft.com/en-us/library/7063s0cd.aspx instead.
Kalvin @ Work 21-Apr-11 11:46am    
That's the problem I'm having. Copy As Image is not an option on a classdiagram or sequencediagram, just copy. I select all the elements on the diagram and copy will create a bitmap, but a vector based image would look better in a presentation.
Henry Minute 21-Apr-11 12:03pm    
That's a shame. In VS2008, right clicking on the diagram without selecting anything offers "Export Diagram as Image.." on the context menu. I only have the Express version of VS2010 and that doesn't even have a Class Diagram Item-template.
This is a limitation which causes me to avoid any Visual Studio diagramming whatsoever!
You cannot make a decent architecture/design document, use standard UML look, combine with other tools, nothing like that. It also proprietary, no chance to use with different platforms (even though I use Visual Studio for inter-platform development, even run the applications on Linux).

There is not enough justification for using such tools for me, so I save my time for something more useful.
You may want to think in this direction, too.

—SA
 
Share this answer
 
Comments
Henry Minute 21-Apr-11 16:48pm    
I did a little more reading after answering. The 'Export Diagram as Image...' option is reserved for VS2010 Ultimate yet I have it on VS2008 Standard. Strange decision by MS.
Sergey Alexandrovich Kryukov 21-Apr-11 17:36pm    
Yes... I guess it's just a bitmap? No use, really. Why would the invest so much in XAML and would not use it, for example -- this format would quite enough for such purposes. Strange indeed.

Thank you.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900