如何在asp.net中用鼠标在图像上绘制矩形 [英] how to draw rectangle on image with mouse in asp.net

查看:109
本文介绍了如何在asp.net中用鼠标在图像上绘制矩形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在asp.net网页中高亮显示客户端(运行时)图像的某些部分。

与ms画中的相同。在ms画中我们会绘制某种形状以突出显示某些内容。

I want to hight light the some part of image at client side(at runtime) in asp.net web page.
same like in ms paint. In ms paint we would draw some type of shape to highlight the some content.

推荐答案

你需要使用javascript,因为它是客户端边的东西。有一个适当的jQuery库名为图像区域选择。我认为这就是你所需要的。



哦,顺便说一句 - 我发现这在不到10秒的时间内在Google上搜索。你应该习惯使用Google来解决这个问题。
You''ll need to use javascript for that, as it''s client side stuff. There''s an appropriate jQuery library called Image Area Select. I think that''s what you need.

Oh, and by the way - I found this in less then 10 seconds searching on Google. You should get used to using Google for questions like this.


这篇关于如何在asp.net中用鼠标在图像上绘制矩形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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