This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//省略若干其他代码 | |
private void menuSpatialIntersect_Click(object sender, EventArgs e) | |
{ | |
//get the continent layer | |
IFeatureLayer continentLayer = GetLayerByName("Continents", axMapControl1.Map) as IFeatureLayer; | |
//query the continents layer where its name equals 'asia' | |
//get the feature's geometry matching the above condition | |
IQueryFilter queryFilter = new QueryFilterClass(); |