AnsweredAssumed Answered

How to calculate accurate TextSymbol width

Question asked by themedes on May 4, 2017

Hi All,

 

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?

 

Any ideas?

 

Thanks

Outcomes