皮尔洛的花园  
开发小积累,生活小花絮的集合

IEnumElement pEnumElement = pGraphicsContainer.LocateElementsByEnvelope(pEnvelope);

 pEnumElement.Reset();

pElement = pEnumElement.Next();

IGraphicsContainerSelect pGraphicsContainerSelect = pGraphicsContainer as IGraphicsContainerSelect; pGraphicsContainerSelect.SelectElement(pElement);

pElemVert = pElement as IElementEditVertices;

 pElemVert.MovingVertices = true; pSelectionTracker = pElement.SelectionTracker;

pSelectionTracker.Display = pActiveView.ScreenDisplay;

axMapControl1.Refresh();

posted on 2010-01-13 11:27  皮尔洛的花园  阅读(316)  评论(0)    收藏  举报