如何将文本框中输入的文本转换为图像? [英] How to convert the entered text in a textbox into image?

查看:122
本文介绍了如何将文本框中输入的文本转换为图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好先生/Ma'm
我想在单击按钮时将文本框中输入的文本转换为图像.





谢谢.

Hi Sir/Ma''m
I want to convert the entered text in a textbox into image on button click.





Thanku.

推荐答案

创建图像,并使用适当的方法在其上放置文本.甚至在CodeProject上也有一篇文章描述了该过程(出现在google搜索中-您知道-绝对免费的搜索引擎可供具有足够手动技巧的任何人使用,以使其浏览器地址栏中的"google.com") :

动态地在图像上写文本 [
Create an image, and put the text on it using the appropriate method(s). there''s even an article here on CodeProject that describes the process (came up in a google search - you know - that absolutely free search engine available to anyone with enough manual dexterity to to "google.com" in their browser address bar):

Dynamically Write Text On An Image[^]


您是否要尝试从文本?如果是这样,请参阅此博客条目,并不是那么困难,您知道...
Are you trying to create an image from a text? If so, see this blog entry, it is not that difficult, you know...http://chiragrdarji.wordpress.com/2008/05/09/generate-image-from-text-using-c-or-convert-text-in-to-image-using-c/[^]


这篇关于如何将文本框中输入的文本转换为图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆