Michel#554
Hello!!
It's me again ^_^!
I have another problem : I want to draw a multiline text on a image. When the width of the text is longer than the image, I divide the text until it fits in my image. To do so, I store the dimension of my text with the MeasureText method but depending on the length of the words in my text, the cuts are different.
Is there any methods or functions which allow to know if the text fits in the rectangle? or to know the length of each line in the rectangle?
I tried with the different values of TextTrimmingMode but it didn't work.
Thank you,
Michel
It's me again ^_^!
I have another problem : I want to draw a multiline text on a image. When the width of the text is longer than the image, I divide the text until it fits in my image. To do so, I store the dimension of my text with the MeasureText method but depending on the length of the words in my text, the cuts are different.
Is there any methods or functions which allow to know if the text fits in the rectangle? or to know the length of each line in the rectangle?
I tried with the different values of TextTrimmingMode but it didn't work.
Thank you,
Michel