如何使用asp.net绘制形状文件 [英] How to draw a shape file using asp.net
本文介绍了如何使用asp.net绘制形状文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用asp.net绘制形状文件
如何绘制webform上的一行,多边形和点使用asp.net
Hi,
How to draw a shape file using asp.net
How to draw a line, polygon and point on a webform using asp.net
推荐答案
Chk此链接
< a href =http://www.codeproject.com/Articles/33381/Graphics-Rendering-with-ASP-Page>使用ASP页面进行图形渲染 [ ^ ]
http://forums.asp.net/t/1542992.aspx?Drawing+矩形+上+图像 [ ^ ]
http://www.html5canvastutorials.com/ [ ^ ]
http:// asp-net- example.blogspot.kr/2012/03/aspnet-graphics-how-to-draw-rectangle.html [ ^ ]
< a href =http://www.codemag.com/Article/03050801> http://www.codemag.com/Article/03050801 [ ^ ]
使用GDI +的ASP.NET中的运行库映像 [ ^ ]
Chk this links
Graphics Rendering with ASP Page[^]
http://forums.asp.net/t/1542992.aspx?Drawing+Rectangles+on+Image[^]
http://www.html5canvastutorials.com/[^]
http://asp-net-example.blogspot.kr/2012/03/aspnet-graphics-how-to-draw-rectangle.html[^]
http://www.codemag.com/Article/03050801[^]
Run-time Image in ASP.NET using GDI+[^]
您可以通过以下步骤来完成此操作:
1.在内存中创建位图
对象;
2.使用位图
创建Graphics
对象的对象,并用它来绘制图形元素;类似于Windows窗体应用程序;
3.将位图
对象保存到Jpeg
将文件存入Web服务器上的Web应用程序文件夹;
4.将图像文件显示到网页中。
这是示例 [ ^ ]。
You could do this by fallowing the next steps:
1.Create in memory aBitmap
object;
2.Use thisBitmap
object to create aGraphics
object and use it to draw graphics elements; similar like in Windows Forms application;
3.Save theBitmap
object into aJpeg
file into a web application folder on the web server;
4.Show the image file into the web page.
Here is an Example[^].
这篇关于如何使用asp.net绘制形状文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文