1. suggest you use SVG2. Streaming Dynamic Images into Your Web Page
http://www.aspalliance.com/jeffwids/articles.aspx?article=articles/article_106.ascx3. Create Snazzy Web Charts and Graphics On the Fly with the .NET Framework
http://msdn.microsoft.com/msdnmag/issues/02/02/ASPDraw/ASPDraw.asp
http://www.aspalliance.com/jeffwids/articles.aspx?article=articles/article_106.ascx3. Create Snazzy Web Charts and Graphics On the Fly with the .NET Framework
http://msdn.microsoft.com/msdnmag/issues/02/02/ASPDraw/ASPDraw.asp
然后Graphics.FromImage,取得Graphics,然后作图。
最后Image.Save到一个MemoryStream里,
Icon.FromStream得到最后的Icon对象。没试过,不知成不成...
然后Graphics.FromImage,取得Graphics,然后作图。
最后Image.Save到一个MemoryStream里,
Icon.FromStream得到最后的Icon对象。没试过,不知成不成...
Icon.FromHandle
按照你的说法,得必须有个.ico文件作一个引子?
还有 anamnesis(化神奇为腐朽) 的方法呢?
Graphics g=Graphics.FromImage(img);
g.Clear(Color.Black);
g.DrawString( System.DateTime.Now.ToString(), new Font("宋体",10),new SolidBrush(Color.Red),0,0);
img.Save("C:\\test.ico",ImageFormat.Icon);
可以到ftp@seu newsoft/original去下载
可以把6种图转成icon
那个实际上不是转成ico
而是png了