Skip to content

Instantly share code, notes, and snippets.


Yinchao YinChaoOnline

Block or report user

Report or block YinChaoOnline

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
YinChaoOnline / MainForm.cs
Last active May 5, 2017
View MainForm.cs
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();
You can’t perform that action at this time.