Select to view content in your preferred language

Text Graphics on a Layout

338
2
04-26-2023 06:10 AM
mstranovsky
Occasional Contributor

Is there a way to return the number of lines in a TextGraphicElement after a wordwrap is applied?

0 Kudos
2 Replies
Wolf
by Esri Regular Contributor
Esri Regular Contributor

You can get the envelope of the graphic element as described here:  

Solved: How to get 'envelope' from layout GraphicElement - Esri Community

0 Kudos
mstranovsky
Occasional Contributor

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

0 Kudos