laptop and a wrench

Error

Text size of labels on ForceElements is not consistent.

Última publicación: December 8, 2014 ArcGIS for Desktop
Número de ID del error NIM038484
EnviadoSeptember 15, 2008
Última modificaciónApril 2, 2025
Relacionado conArcGIS for Desktop
Versión encontrada9.3
Lenguaje del programaC#
Versión corregida10
EstadoFixed

Solución alternativa

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)

Pasos para reproducir

ID del error: NIM038484

Software:

  • ArcGIS for Desktop

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga