在宗地出图,需要实现,只显示某一户人的地块。在ArcMap里,有个定义查询,可只显示过滤后的要素。在代码中,也比较好实现,使用IFeatureLayerDefinition接口即可。IFeatureLayerDefinition pFeatLyrDef = pFeatureLayer as IFeatureLayerDefinition;pFeatLyrDef.DefinitionExpression = whereClause;axMap.ActiveView.Refresh();