laptop and a wrench

不具合

Custom Map Surround Frames crash ArcMap in Version 10.0 SP 3 in the IElement.Draw() method. With 10.0 SP 2, the code works fine to add a north arrow map surround.

最後に公開された状態: August 25, 2014 ArcGIS for Desktop
不具合 ID 番号 NIM075178
送信されましたNovember 9, 2011
最終更新日June 5, 2024
適用対象ArcGIS for Desktop
見つかったバージョン10.0
プログラム言語VC++
オペレーティング システムWindows OS
オペレーティング システムのバージョン7 64 Bit
ステータスDuplicate

参考情報

NIM074919

対処法

In order to work with SP3, add the IGraphicsComposite and IEnumElement interfaces to you custom element class: Example implementation: #region IGraphicsComposite Members public IEnumElement get_Graphics(IDisplay Display, object Data) { return this; } #endregion #region IEnumElement Members private int enumIndex = 0; public IElement Next() { if (enumIndex == 0) { enumIndex++; IElement element = new PolygonElementClass(); element.Geometry = m_customElement; return element; } throw new COMException("Iterator End", 1); return null; } public void Reset() { enumIndex = 0; } #endregion

再現の手順

不具合 ID: NIM075178

ソフトウェア:

  • ArcGIS for Desktop

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

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

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

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

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

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

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