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();

浙公网安备 33010602011771号