Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How to draw a shape file using asp.net

How to draw a line, polygon and point on a webform using asp.net
Posted

You could do this by fallowing the next steps:
1.Create in memory a Bitmap object;
2.Use this Bitmap object to create a Graphics object and use it to draw graphics elements; similar like in Windows Forms application;
3.Save the Bitmap object into a Jpeg file into a web application folder on the web server;
4.Show the image file into the web page.

Here is an Example[^].
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900