<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to calculate accurate TextSymbol width in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-calculate-accurate-textsymbol-width/m-p/715142#M3644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to calculate the width of text accurately for a TextSymbol? I need to accurately calculate the width to overlay a Edit box over the label (to simulate editing). Using the standard .NET MeasureText call, returns a different width to what is actually rendered on the ESRI surface, hence giving me a larger edit box than needed (lots of extra white space). Is there like an API call to get this value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 May 2017 10:56:35 GMT</pubDate>
    <dc:creator>DavidLloyd</dc:creator>
    <dc:date>2017-05-04T10:56:35Z</dc:date>
    <item>
      <title>How to calculate accurate TextSymbol width</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-calculate-accurate-textsymbol-width/m-p/715142#M3644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to calculate the width of text accurately for a TextSymbol? I need to accurately calculate the width to overlay a Edit box over the label (to simulate editing). Using the standard .NET MeasureText call, returns a different width to what is actually rendered on the ESRI surface, hence giving me a larger edit box than needed (lots of extra white space). Is there like an API call to get this value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 10:56:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/how-to-calculate-accurate-textsymbol-width/m-p/715142#M3644</guid>
      <dc:creator>DavidLloyd</dc:creator>
      <dc:date>2017-05-04T10:56:35Z</dc:date>
    </item>
  </channel>
</rss>

