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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動