/// <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); }
public void CloseDiagram(int DiagramID) { eaRepository.CloseDiagram(DiagramID); }