Hello and good morning!
I started using PDFsharp and Migradoc a few days ago and so far - a great experience!
Now I ran into following issue:
I want to place 2 text frames into a table cell - one in the lower left corner, one opposite in the upper right
each of them shall contain a paragraph with a few words wrapped to a 3-line text
Now I need to know the dimensions of my tiny multiline textblocks.
Width is not a big thing - I can use gfx.MeasureString for individual lines.
but the height of a multiline text? - from my point of view it's a similar problem as in in recent post "How to get real row Height?"
(I would not mind to create a temporary migradoc document with a temporary table and render it)
Thomas stated in this post "You can get the real height from the Renderer after calling PrepareDocument."
Can someone help me out how to get the dimensions "from the renderer" ?
Thanks in advance and best regards