This project is read-only.

Shapefile.EditClear() not clearing attribute table?

Jun 19, 2013 at 10:31 PM
Hi All,

I am having a problem with EditClear. It clears the shapefile but appears to leave the attribute table intact. The code I'm using is below.

Many thanks,

Shapefile sf = new Shapefile();
sf.Open(@"C:\mysf.shp", null);
sf.StartEditingShapes(true, callback);
sf.StopEditingShapes(true, true, callback);