laptop and a wrench

不具合

‘IViewRefresh.RefreshItem’ method throws error “ArgumentException ("Value does not fall within the expected range.")” while refreshing the bounds of newly added graphic element to the graphics container

最後に公開された状態: August 31, 2014 ArcGIS Engine
不具合 ID 番号 NIM076230
送信されましたDecember 14, 2011
最終更新日June 5, 2024
適用対象ArcGIS Engine
見つかったバージョン10.0
プログラム言語C#
オペレーティング システムWindows OS
オペレーティング システムのバージョン7 64 Bit
ステータスWill Not Be Addressed

参考情報

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

対処法

1. Comment the following lines of code in the application:((IViewRefresh)axMapControl1.ActiveView).RefreshItem(Element);And uncomment the below lines of code:((IViewRefresh)axMapControl1.ActiveView).PartialRefreshShape(esriViewDrawPhase.esriViewGraphics, Element, Element.Geometry, 1); 2. Run the application in debug mode.3. Use the ‘New polygon’ element tool to draw a new polygon on the map. 4. The ElementAdded event is then fired, and the code will execute successfully.

再現の手順

不具合 ID: NIM076230

ソフトウェア:

  • ArcGIS Engine

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動