laptop and a wrench

Erro

Text size of labels on ForceElements is not consistent.

Última Publicação: December 8, 2014 ArcGIS for Desktop
Número de ID do Erro NIM038484
EnviadoSeptember 15, 2008
Última ModificaçãoApril 2, 2025
Aplica-se àArcGIS for Desktop
Versão encontrada9.3
Idioma do programaC#
Versão Fixa10
StatusFixed

Solução Provisória

It is possible to temporarily work around this problem by setting the text size explicitly in the ForceElement Render, using the code: IForceElementRenderer forceElementRenderer = (IForceElementRenderer)renderer; IFEGraphicStyle feGraphicStyle = forceElementRenderer.Style; ITextSymbol textSymbol = feGraphicStyle.TextSymbol; textSymbol.Size = Convert.ToDouble(m_TextHeight);And then calling a display list refresh using the code: ((IDisplayList)m_forceElementLayerFriendly.DisplayList).Refresh(display, null); axMapControl1.ActiveView.PartialRefresh(esriViewDrawPhase.esriViewGeography, (ILayer)m_forceElementLayerFriendly, axMapControl1.ActiveView.Extent);To run the workaround:1. Press 'Work around label issue.'2. Observe that the text height is consistent (though it is too small to be readable)

Etapas para Reproduzir

ID do Erro: NIM038484

Software:

  • ArcGIS for Desktop

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