示例#1
0
 /// <summary>
 /// Exports a diagram to the given path (as png)
 /// </summary>
 /// <param name="diagramId"></param>
 /// <param name="path"></param>
 public void ExportDiagram(int diagramId, string filename)
 {
     repo.OpenDiagram(diagramId);
     project.SaveDiagramImageToFile(filename);
     repo.CloseDiagram(diagramId);
 }
示例#2
0
 public void CloseDiagram(int DiagramID)
 {
     eaRepository.CloseDiagram(DiagramID);
 }