问题
I am using Generate Sequence Diagram
feature of Visual Studio.
I have to show my sequence diagram to someone who don't have Visual Studio Ultimate Edition
Is there any way to export the sequence diagram to any format so that it can be viewed outside Visual Studio?
回答1:
This answer works in VS 2012:
- Open the sequence diagram
- select the whole diagram by CTRL+A
- copy it to the clipboard -> CTRL+C
- go to an open MS-Word document and hit CTRL+V to paste it
the diagram is pasted and you can perform image editing, printing, etc. there
回答2:
I tried again with approach mentioned in this link posted by Bolu
I played with the print options and selected the largest available paper size.
It is working for now but I am afraid for large diagrams it might fail
回答3:
Haris didn't really explain his answer in any detail, and the link isn't really very clear either, but it seems that the solution is to print-to-XPS-file. This worked for me and the XPS file can be converted to another file format fairly readily.
回答4:
Printing as PDF works well (using CutePDF for example).
回答5:
Maybe it's a bit of a 'trick' but you always can make a screenshot (control or alt + PrtScreen), copy it to mspaint and save it as a bitmap/png file.
来源:https://stackoverflow.com/questions/9197188/is-there-any-way-to-export-sequence-diagram-generated-by-visual-studio