How to calculate accurate TextSymbol width

594
0
05-04-2017 03:56 AM
Labels (1)
DavidLloyd
New Contributor

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

0 Kudos
0 Replies