In Delphi i wish to draw text inside a TRect. I am hoping for the following functionality:
I can see the Windows.DrawText() function almost covers this functionality, however when writing text, multiline and vertically centred are mutually exclusive. I was wondering if this functionality is built into windows (2000+)? If not is there a way to do this without writing my own function? | |||||||||
|
Sorry, this is a combination of all previous answers and comments. But it seems OP needs more assistance.
| |||||||||||||||||
|
Measure the text first using | |||||||||||||||||||||||||||||
|
联系客服