private void InsertClassDiagram(SDType sdType) { if (!sdType.IsClassDiagramEmpty()) { var tmpImagePath = Path.Combine(_outputPath, "tmp", sdType.Guid + ".png"); sdType.GetClassDiagram().ToPng(tmpImagePath); _wordTemplater.AppendImage(tmpImagePath, "Diagram"); } }