private void Draw4(string sourcePath, string outputPath, string imageText, Size size, float x1, float y1) { var fileName = string.Format("{0}x{1}.png", size.Width, size.Height); var informer = new Informer(sourcePath + fileName); informer.DrawText("Партийный проект. " + imageText, Color.White, x1, y1 - 22); informer.SaveToPng(outputPath + fileName); }
private void Draw4(string sourcePath, string outputPath, string imageText, Size size, float x1, float y1) { var fileName = string.Format("{0}x{1}.png", size.Width, size.Height); var informer = new Informer(sourcePath + fileName); informer.DrawText("Партийный проект. " + imageText, Color.White, x1, y1 - 22); informer.SaveToPng(outputPath + fileName); }