laptop and a wrench

漏洞

Text ("B" "C") turns yellow with certain tactical graphic symbols (Chemical Containment Area: GFMPNC--------X; Biological Containment Area symbol: GFMPNB--------X) when UseAffiliation is set to true.

上次发布: August 31, 2014 ArcGIS Engine
漏洞 ID 编号 NIM061176
已提交September 16, 2010
上次修改时间June 5, 2024
适用范围ArcGIS Engine
找到的版本9.3.1
编程语言C#
操作系统Windows OS
操作系统版本XP
状态Non-Reproducible

附加信息

No Public Explanation

解决办法

Refer to the application attached if necessary.Workaround 1: private ITacticalGraphicStyle getCustomTGStyle() { ITacticalGraphicStyle tacticalGraphicStyle = new TacticalGraphicStyleClass(); tacticalGraphicStyle.StyleOption = moleTGStyleEnum.moleTGStyleText; //If custom colors are also desired, // Set / uncomment: // //tacticalGraphicStyle.StyleOption = moleTGStyleEnum.moleTGStyleAlternates; //tacticalGraphicStyle.FriendlyColor = Converter.ToRGBColor(System.Drawing.Color.FromArgb(0, 100, 255)) as IColor; //tacticalGraphicStyle.HostileColor = Converter.ToRGBColor(System.Drawing.Color.FromArgb(255, 50, 50)) as IColor; //tacticalGraphicStyle.NeutralColor = Converter.ToRGBColor(System.Drawing.Color.FromArgb(0, 100, 30)) as IColor; //tacticalGraphicStyle.UnknownColor = Converter.ToRGBColor(System.Drawing.Color.FromArgb(255, 255, 10)) as IColor; tacticalGraphicStyle.UseFonts = true; //Set font TextSymbol textSymbol = new TextSymbolClass(); textSymbol.Color = Converter.ToRGBColor(Color.Black) as IColor; stdole.IFontDisp f1 = new stdole.StdFontClass() as stdole.IFontDisp; <a href="http://f1.Name" target="_blank">f1.Name</a> = "Arial"; f1.Size = (decimal)12; f1.Bold = true; textSymbol.Font = f1; textSymbol.Size = 12; tacticalGraphicStyle.TextSymbol = textSymbol; return tacticalGraphicStyle; }In the create_graphic() function, add: (the_renderer as ITacticalGraphicRenderer2).Style = getCustomTGStyle();Wordaround 2:In the create_graphic() function, add: ICacheRenderer tgRenderer = new TacticalGraphic2525BRendererClass(); ICacheRendererCollection pCRCPoints = new TacticalGraphicLayerClass(); pCRCPoints.AddRenderer(ref tgRenderer, 0); the_renderer.Style = ((ITacticalGraphicRenderer2)pCRCPoints.Renderer(0)).Style;

重现步骤

漏洞 ID: NIM061176

软件:

  • ArcGIS Engine

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项