Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何想法如何将具有任何字体的字符串保存为 svg 图像?
我的意思是我们可以将字符串写入图像并保存,如下所示:
Bitmap bitmap = new Bitmap(1, 1); Graphics graphics = Graphics.FromImage(bitmap); //.. graphics.DrawString(myString, myFont, /*...*/); bitmap.Save(@"somewhere");
我也可以将带有字体的字符串保存为 svg 图像吗?