laptop and a wrench

Bug

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

Last Published: August 31, 2014 ArcGIS Engine
Bug ID Number NIM053275
SubmittedJanuary 22, 2010
Last ModifiedJune 5, 2024
Applies toArcGIS Engine
Version found9.3.1
Operating SystemWindows OS
Operating System VersionXP
StatusKnown Limit

Additional Information

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

Steps to Reproduce

Bug ID: NIM053275

Software:

  • ArcGIS Engine

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options