Spax EA best way to export diagrams into Word document
问题 Got an old module which is generates reports with data from sparx ea project. There is a part where you need to insert diagrams as pictures in the document. Now it looks like that public static void copyDiagram( EA.Diagram diagram, EA.Repository eaRepository) { eaRepository.App.Project.PutDiagramImageOnClipboard(diagram.DiagramGUID, 0); eaRepository.CloseDiagram(diagram.DiagramID); } copying it to clipboard, and after that there goes something like currentDocumentRange.Paste() Looks strange