So I'm writing a text on an image with DrawString in a rectangle. My text is written on multiple line in my rectangle. How can I get the pixel position of the last character drawn on my image ? Because this character can be at any Width because of the multiple line. I think it's more easy understand with an image, so I want to get the pixel position here, at the "?":
I tried everything, searched for hours, MeasureString, even OCR, but I didn't find any way to get the pixel position of the last character of the drawn text.
I need this position because I want to append it an image with DrawImage.