This project is read-only.

Featureset open method missing

Jul 12, 2012 at 9:21 PM
Edited Jul 12, 2012 at 9:24 PM

Hi,

I'm trying to use a FeatureSet to open a shapefile but the open method is missing. Am I doing it the wrong way or is this a bug ?

 

 public partial class MainForm : Form
    {
        ShapeFileManager sfm = new ShapeFileManager();
        BackgroundManager bm = new BackgroundManager();
        FeatureSet fs = new FeatureSet();

        public MainForm()
        {
            InitializeComponent();
            bm.BGColor = MainMap.BackColor;

            MainMap.AddLayer("shapes\\can\\PROVINCE.shp");
            fs.open("shape\\can\\Province.shp);
        }

Thanks for the help.

Jul 12, 2012 at 11:35 PM

Some of our docs became out of date when we released 1.0 and made this more consistent with the .Net IO APIs. Use FeatureSet.Open(...);