How to get size of rendered text?

89
0
05-27-2020 07:44 AM
BrennanJohnson
New Contributor II

I'm using LayoutElementFactory.Instance.CreateRectangleParagraphGraphicElement() to create paragraph text elements in a layout. In order to effectively position the generated text, I need to know the size of the text itself. Is there any way to do that?

GetHeight(), GetWidth(), etc. all refer to the original envelope, but I want to know how big the rendered text is.

0 Kudos
0 Replies