How to get text length in lv_label after set label width?

Hello! I have a label text where I set the maximum width. So in this text label I can have more than 1 line. Is it possible to know the length per line? I would like to insert an image at the end of the text, but with the line break I cannot position the image correctly.