laptop and a wrench

Erro

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

Última Publicação: August 31, 2014 ArcGIS Engine
Número de ID do Erro NIM053275
EnviadoJanuary 22, 2010
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Engine
Versão encontrada9.3.1
Sistema OperacionalWindows OS
Versão do Sistema OperacionalXP
StatusKnown Limit

Informações Adicionais

No Public Explanation

Solução Provisória

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

Etapas para Reproduzir

ID do Erro: NIM053275

Software:

  • ArcGIS Engine

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download