| 5 | 1/1 | 返回列表 |
| 查看: 1420 | 回復: 8 | ||
| 本帖產(chǎn)生 1 個 EPI ,點擊這里進行查看 | ||
| 當前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | ||
xiangling1金蟲 (正式寫手)
|
[求助]
AE+c#讓某一圖元居中,閃爍
|
|
下面的代碼,為何不能實現(xiàn)閃爍,請高手指點哈?![]() //初始化圖形容器對象 IGraphicsContainer pContainer = axMapControl1.Map as IGraphicsContainer; //刪除要素 pContainer.DeleteAllElements(); //點樣式 ISimpleMarkerSymbol pSimpleMarkerSymbol = new SimpleMarkerSymbolClass(); pSimpleMarkerSymbol.Color = GetRGBColor(255,0,0);//取色 pSimpleMarkerSymbol.Size = 3; IMarkerElement pMarkerElement = new MarkerElementClass(); pMarkerElement.Symbol = pSimpleMarkerSymbol; IElement pElement = pMarkerElement as IElement; pElement.Geometry = pFeature.Shape; int nIndex = 0; pContainer.AddElement(pMarkerElement as IElement, nIndex); //居中顯示 axMapControl1.CenterAt((IPoint)pFeature.Shape); Application.DoEvents(); axMapControl1.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGeography, pContainer, axMapControl1.ActiveView.Extent); axMapControl1.FlashShape(pFeature.Shape, 4, 300, pSimpleMarkerSymbol); [ Last edited by xiangling1 on 2011-6-27 at 13:19 ] |

金蟲 (正式寫手)

至尊木蟲 (小有名氣)

金蟲 (正式寫手)
|

| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 322求調劑 +7 | 宋明欣 2026-03-27 | 7/350 |
|
|---|---|---|---|---|
|
[考研] 22408 359分調劑 +4 | Qshers 2026-03-27 | 5/250 |
|
|
[考研] 299求調劑 +7 | 嗯嗯嗯嗯2 2026-03-27 | 7/350 |
|
|
[考研] 【求調劑】085601材料工程專碩 | 總分272 | +6 | 腳滑的守法公民 2026-03-27 | 6/300 |
|
|
[考研] 一志愿南京航空航天大學材料學碩求調劑 +3 | @taotao 2026-03-28 | 3/150 |
|
|
[考研] 292求調劑 +14 | 鵝鵝鵝額額額額?/a> 2026-03-25 | 15/750 |
|
|
[考研] 材料求調劑 一志愿哈工大總分298分,前三科223分 +5 | dongfang59 2026-03-27 | 5/250 |
|
|
[考研] 070300化學求調劑 +4 | 起個名咋這么難 2026-03-27 | 4/200 |
|
|
[考研]
|
18419759900 2026-03-25 | 8/400 |
|
|
[考研] 材料求調劑 +5 | .m.. 2026-03-25 | 5/250 |
|
|
[考研] 0703化學一志愿南京師范大學303求調劑 +3 | zzffylgg 2026-03-24 | 3/150 |
|
|
[考研]
|
鐘llll 2026-03-26 | 4/200 |
|
|
[考研] 0703化學求調劑 +3 | 丹青奶蓋 2026-03-26 | 5/250 |
|
|
[考研] 085601求調劑總分293英一數(shù)二 +4 | 鋼鐵大炮 2026-03-24 | 4/200 |
|
|
[考研] 材料與化工328分調劑 +6 | 。,。,。,。i 2026-03-23 | 6/300 |
|
|
[考研] B區(qū)考研調劑 +4 | yqdszhdap- 2026-03-22 | 5/250 |
|
|
[考研] 上海電力大學材料防護與新材料重點實驗室招收調劑研究生(材料、化學、電化學,環(huán)境) +4 | 我愛學電池 2026-03-23 | 4/200 |
|
|
[考研] 一志愿武理085500機械專業(yè)總分300求調劑 +3 | an10101 2026-03-24 | 7/350 |
|
|
[考研] 材料專碩331求調劑 +4 | 鮮當牛 2026-03-24 | 4/200 |
|
|
[考研] 275求調劑 +6 | shansx 2026-03-22 | 8/400 |
|