laptop and a wrench

Error

When rotating the map, the ICachedGraphic's text attributes do not keep the same direction as the symbol.

Última publicación: August 31, 2014 ArcGIS Engine
Número de ID del error NIM053275
EnviadoJanuary 22, 2010
Última modificaciónJune 5, 2024
Relacionado conArcGIS Engine
Versión encontrada9.3.1
Sistema operativoWindows OS
Versión de sistema operativoXP
EstadoKnown Limit

Información adicional

No Public Explanation

Solución alternativa

Use this code to rotate the map : // workaround to keep the symbol and text always looking north of the map this.axMapControl1.Rotation = this.axMapControl1.Rotation - 45; if (cachedGraphic != null) { cachedGraphic.Angle = Math.PI / 180 * this.axMapControl1.Rotation; IDisplay simpleDisplay = new SimpleDisplayClass(); cachedGraphic.Refresh(simpleDisplay); cachedGraphic.Angle = 0; } this.axMapControl1.Refresh(esriViewDrawPhase.esriViewGeography, null, null);Instead of using: //issue this.axMapControl1.Rotation = this.axMapControl1.Rotation - 45; this.axMapControl1.Refresh(esriViewDrawPhase.esriViewGeography, null, null);

Pasos para reproducir

ID del error: NIM053275

Software:

  • ArcGIS Engine

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