laptop and a wrench

漏洞

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

上次发布: August 31, 2014 ArcGIS Engine
漏洞 ID 编号 NIM053275
已提交January 22, 2010
上次修改时间June 5, 2024
适用范围ArcGIS Engine
找到的版本9.3.1
操作系统Windows OS
操作系统版本XP
状态Known Limit

附加信息

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

重现步骤

漏洞 ID: NIM053275

软件:

  • ArcGIS Engine

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项