I want to draw text into rectangle on center (horizontally and vertically). If there is too much of a text that crop it what do not fit into rect.
I have try to do it as this example show, but without luck.
Any ideas?
I want to draw text into rectangle on center (horizontally and vertically). If there is too much of a text that crop it what do not fit into rect.
I have try to do it as this example show, but without luck.
Any ideas?
Try this
this function worked for me.