This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Converting text to image (png). | |
/// </summary> | |
/// <param name="text">text to convert</param> | |
/// <param name="font">Font to use</param> | |
/// <param name="textColor">text color</param> | |
/// <param name="maxWidth">max width of the image</param> | |
/// <param name="path">path to save the image</param> | |
public static void DrawText(String text, Font font, Color textColor,int maxWidth,String path) | |
{ |