void ConvertTextFileToImage(String textFile,String imageFile)
{
drawFont = new ("Song style", 12);
image = new (1, 1);
g = (image);
String text = (textFile, ("GB2312"));
sf = (text, drawFont, 1024); //Set a display width
image = new (image, new (Convert.ToInt32(), Convert.ToInt32()));
g = (image);
();
= ;
(text, drawFont, , new (new (0, 0), sf));
(imageFile, );
();
();
}