How to get each line width and height in a textblock?

I want to put an image after a warpped textblock’s last line. Is there any way to measure the textblock’s last line text width? Or is there any way to calculate specific string’s size like ComputeDesiredSize?

You want it to be like in-line? I believe rich text blocks allow in-line images.


Rich text block is a good solution, but I also need to play animation on this image so in-line image may not work.