MapWindow 4 - ActiveX Control Programming : MapWindow Discussion Forum
Hello, I want to know how i can set type to a point, I tried this code: int Ishape1; MapWinGis.Shapefile shapefile = new MapWinGis.Shapefile(); Shapefile.open(@"...",null); Ishape1=axmap1.AddLayer(shapefile,true); Mapa.set_
Type of point C#
Posted by:
truxky ()
Date: April 07, 2011 07:15AM
Hello,
I want to know how i can set type to a point, I tried this code:
int Ishape1;
MapWinGis.Shapefile shapefile = new MapWinGis.Shapefile();
Shapefile.open(@"...",null);
Ishape1=axmap1.AddLayer(shapefile,true);
Mapa.set_ShapePointType(Ishape1,0,MapWinGis.tkPointType.ptTriangleUp);
This code, doesn´t work. Why??
Thanks
Edited 1 time(s). Last edit at 04/07/2011 07:16AM by truxky.
I want to know how i can set type to a point, I tried this code:
int Ishape1;
MapWinGis.Shapefile shapefile = new MapWinGis.Shapefile();
Shapefile.open(@"...",null);
Ishape1=axmap1.AddLayer(shapefile,true);
Mapa.set_ShapePointType(Ishape1,0,MapWinGis.tkPointType.ptTriangleUp);
This code, doesn´t work. Why??
Thanks
Edited 1 time(s). Last edit at 04/07/2011 07:16AM by truxky.
Re: Type of point C#
Posted by:
sindizzy ()
Date: April 07, 2011 08:24AM
You are changing one shape with that command. Use set_ShapeLayerPointType for the entire layer.
AGP
AGP
Re: Type of point C#
Posted by:
truxky ()
Date: April 07, 2011 08:38AM
Thank you very much.
Today I begin to develop a new gis application in C# and I don´t know very much.
Today I begin to develop a new gis application in C# and I don´t know very much.
Sorry, only registered users may post in this forum.


