laptop and a wrench

Bug

Text size of labels on ForceElements is not consistent.

Zuletzt veröffentlicht: December 8, 2014 ArcGIS for Desktop
Bug-ID-Nummer NIM038484
EingereichtSeptember 15, 2008
Zuletzt geändertApril 2, 2025
Gilt fürArcGIS for Desktop
Gefunden in Version9.3
ProgrammspracheC#
Behoben in Version10
StatusFixed

Workaround

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)

Schritte zur Reproduzierung

Bug-ID: NIM038484

Software:

  • ArcGIS for Desktop

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln