When rotating the map, the ICachedGraphic's text attributes do not keep the same direction as the symbol.
上次发布: August 31, 2014ArcGIS Engine
漏洞 ID 编号
NIM053275
已提交
January 22, 2010
上次修改时间
June 5, 2024
适用范围
ArcGIS Engine
找到的版本
9.3.1
操作系统
Windows OS
操作系统版本
XP
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No Public Explanation
解决办法
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);