laptop and a wrench

Erro

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.

Última Publicação: August 31, 2014 ArcGIS Engine
Número de ID do Erro NIM061176
EnviadoSeptember 16, 2010
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Engine
Versão encontrada9.3.1
Idioma do programaC#
Sistema OperacionalWindows OS
Versão do Sistema OperacionalXP
StatusNon-Reproducible

Informações Adicionais

No Public Explanation

Solução Provisória

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;

Etapas para Reproduzir

ID do Erro: NIM061176

Software:

  • ArcGIS Engine

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download