仅使用asp.net c#visual studio 2008在网页上绘制矩形。不使用位图图像 [英] draw rectangle on web page using only asp.net c# visual studio 2008. without using bitmap images
问题描述
任何人都可以告诉我使用asp.net c#在网页中绘制一个矩形的完整代码。但我不想在这里使用位图图像。我需要一个使用c#asp.net的简单网页,其中只有一个矩形,但不使用位图图像。请不要使用这个:
位图bmp =新位图(宽度,高度,PixelFormat.Format24bppRgb);
bmp.Save(响应.OutputStream,ImageFormat.Jpeg);
我们已经有使用位图图像的解决方案,请不要使用位图图像发布答案。在此先感谢。
Can any one tell me full code of draw a rectangle in webpage using asp.net c#. But i don''t want to use bitmap image here. I need a simple webpage using c# asp.net in which only one rectangle should be there but without using bitmap image. Please do not use this:
Bitmap bmp = new Bitmap(width, height, PixelFormat.Format24bppRgb);
bmp.Save(Response.OutputStream, ImageFormat.Jpeg);
We already have solution useing bitmap image, please do not post answer using bitmap image. Thanks in advance.
推荐答案
http://stackoverflow.com/questions/8475232/draw-and-fill-a-simple-rectangle-in-c-sharp 一> [ ^ ] [ ]
http://stackoverflow.com/questions/15295193/怎么能在网页上绘制一个矩形 - 使用-asp-net-with-c-sharp [ ^ ] [ ]
http://msdn.microsoft.com/en-us/library/system.drawing.rectangle.aspx [ ^ ] [ ]
http://stackoverflow.com/questions/8475232/draw-and-fill-a-simple-rectangle-in-c-sharp[^][]
http://stackoverflow.com/questions/15295193/how-can-i-draw-a-rectangle-on-webpage-using-asp-net-with-c-sharp[^][]
http://msdn.microsoft.com/en-us/library/system.drawing.rectangle.aspx[^][]
这篇关于仅使用asp.net c#visual studio 2008在网页上绘制矩形。不使用位图图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!