Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Creating a polygon

$
0
0
I have
MapWinGIS.Shape s = new MapWinGIS.Shape();
s.Create(MapWinGIS.ShpfileType.SHP_POINT);
MapWinGIS.Point p = new MapWinGIS.Point();
p.x = x;
p.y = y;
s.InsertPoint(p, ref inds);



2014-08-19 3:26 GMT+02:00 mr_sriramesh <[email removed]>:

From: mr_sriramesh

How do I create a polygon with vertices? I use the following and it doesnt seem to work.

pNewShape = New MapWinGIS.Shape
For j = 0 To n
GetXY(j,x,y)
pNewShape.AddPoint(x, y)
next

any ideas?

Read the full discussion online.

To add a post to this discussion, reply to this email ([email removed])

To start a new discussion for this project, email [email removed]

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online atcodeplex.com



Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>