예제 #1
0
        private void 打开TinToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // ITinLayer pTinLayer = GetTINLayer(@".\data\IDW数据\dvtin");

             ITinAdvanced2 pTin = new TinClass();
             pTin.Init(@".\data\IDW数据\dvtin");

             ITinLayer pTinLayer = new TinLayerClass();

             pTinLayer.Dataset = pTin;
             axMapControl1.Map.AddLayer(pTinLayer as ILayer);
        }