1.只能根据坐标,调整成两行了.
/winzheng/archive//03/05/1403992.html
[object Object]Code
Bitmapbt1=newBitmap(300,350,PixelFormat.Format24bppRgb);
Graphicsg=Graphics.FromImage(bt1);
String[]strings=newstring[]{"你好",""};
Pointp=newPoint(0,0);
foreach(stringsinstrings)
{
p.Y=p.Y+30;
g.DrawString(s,font,newSolidBrush(Color.White),p.X,p.Y,StringFormat.GenericDefault);
}
//g.Clear(Color.White);
bt1.Save("123.jpg",ImageFormat.Jpeg);