frmMain.Map.ExportSelection = True
oLayer.Selection.SelectByPoint(m_feature.CenterX, m_feature.CenterY, MapXLib.SelectionTypeConstants.miSelectionAppend, MapXLib.SearchResultTypeConstants.miSearchResultDefault)
m_feature为我选中的图元,我将它添加进selection中
oLayer.Refresh()
请高手解答
------解决方案--------------------
这个已解决,谢谢回答