laptop and a wrench

不具合

ISymbologyStyleClass returns a Picture object via the previewItem () method.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM008824
送信されましたMay 10, 2007
最終更新日June 5, 2024
適用対象No Product Found
見つかったバージョン9.2
プログラム言語Java
修正されたバージョン9.3
ステータスFixed

対処法

When you do a previewItem you will get a picture.Picture picture = style.getPreviewItem(item, 256, 256); You can create any picture element from belowBmpPictureElementEmfPictureElementGifPictureElementImgPictureElementJpgPictureElementPngPictureElementSidPictureElementTifPictureElementif you create a BmpPictureElement, So it will beBmpPictureElement bmpPicture = new BmpPictureElement();bmpPicture.importPicture(picture); // import the picture that you got from previewItem Once this is done you can add this to the maps graphics container as an elementIGraphicsContainer container = mapBean.getActiveView().getGraphicsContainer() // where mapBean is of type MapBeancontainer.addElement(bmpPicture);mapBean.getActiveView().refresh();

再現の手順

不具合 ID: NIM008824

ソフトウェア:

  • No Product Found

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

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

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

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

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

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

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