laptop and a wrench

Error

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

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM008824
EnviadoMay 10, 2007
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada9.2
Lenguaje del programaJava
Versión corregida9.3
EstadoFixed

Solución alternativa

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

Pasos para reproducir

ID del error: NIM008824

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga