geometry - How to draw geometries of a shapefile on a user control using C#? -
i trying write application visualize shapefile on .net form without using external sdk. have written code read shapefile. unable gdi+ trick draw geometries user control effectively.
any idea?
you should use graphics object of usercontrol( control ) draw points, lines, etc on it. useful if can obtain point information shapefile. use following links make work. drawing brush on usercontrol , drawing point on custom usercontrol
this example :
graphics g = this.creategraphics(); g.drawpolygon( ... ) ;
Comments
Post a Comment