Is there a way to return the number of lines in a TextGraphicElement after a wordwrap is applied?
You can get the envelope of the graphic element as described here:
Solved: How to get 'envelope' from layout GraphicElement - Esri Community
I am actually looking for the number of lines of text in the balloon callout inside a text graphic element. I can use the count to multiply it by the font point size to increase/decrease the size of the box that encases the callout