laptop and a wrench

Bug

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

Zuletzt veröffentlicht: August 31, 2014 ArcGIS Engine
Bug-ID-Nummer NIM053275
EingereichtJanuary 22, 2010
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Engine
Gefunden in Version9.3.1
BetriebssystemWindows OS
BetriebssystemversionXP
StatusKnown Limit

Zusätzliche Informationen

No Public Explanation

Workaround

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

Schritte zur Reproduzierung

Bug-ID: NIM053275

Software:

  • ArcGIS Engine

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln