You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sindizzy edited this page Dec 23, 2020
·
3 revisions
Sample code that demonstrates how to open an existing shapefile and save that shapefile with a new file name.
ImportsDotSpatial.DataPrivateSubbutton1_Click(senderAsObject,eAsEventArgs)'Declare a new feature setDimfsAsNewFeatureSet()'Pass in the file path for the standard shapefile that will be openedfs.Open("C:\Temp\roads.shp")'Saves the open shapefilefs.SaveAs("C:\Temp\roads_test.shp",True)EndSub