如何在vb.net中发表图片评论? [英] how to make image comment in vb.net?

查看:414
本文介绍了如何在vb.net中发表图片评论?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我是vb.net的新手
你能帮我吗?
我想创建评论以在Facebook中像评论照片一样显示图像
我正在使用vb.net

hello i''m new in vb.net
can you help me?
i want create comment to image like comment photo in facebook
i''m using vb.net

推荐答案

如果要向图像添加文本注释,可以使用System.Drawing.Graphics绘制该图像.要获取此类的实例以在图像上绘画,请使用其静态工厂"方法FromImage:
http://msdn.microsoft.com/en-us/library/system. drawing.graphics.fromimage.aspx [ ^ ],
http://msdn.microsoft.com/en-us/library/system.drawing. graphics.aspx [^ ].

使用Graphics.DrawString或类似方法在您的图像上绘制.处置此实例时,图形将保存在用于绘制的位图中.

—SA
If you want to add a text comment to an image, you can draw an that image using System.Drawing.Graphics. To obtain an instance of this class to draw on image, use its static "factory" method FromImage:
http://msdn.microsoft.com/en-us/library/system.drawing.graphics.fromimage.aspx[^],
http://msdn.microsoft.com/en-us/library/system.drawing.graphics.aspx[^].

Draw on your image using Graphics.DrawString or something like that. When you dispose this instance, the graphics will be saved in a bitmap used for drawing.

—SA


首先,您可以在图像下方显示一个文本框.就像此页面中的有问题或评论"按钮一样,单击该按钮会打开一个文本框,您可以在其中键入必要的内容并提交.

可以在以下帮助下完成编辑框: http://visualbasic.freetutes.com/learn-vb6/lesson8.html [ ^ ]
Just to start with, you can have a text box below the image. Just like ''Have a Question or Comment'' button in this page - when clicked, it opens a text box, where you can type the necessary stuff and submit.

Edit box can be done with this help : http://visualbasic.freetutes.com/learn-vb6/lesson8.html[^]




Jus在图像下方放置了一个文本框,用户可以在其中添加评论.提交后,请将提交的文本放在标签上,使其对其他用户只读.
Hi,

Jus put a textbox below the image in which user can put his/her comment. after submitting, make it readonly for other users by putting the submitted text on label.


这篇关于如何在vb.net中发表图片评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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