hansu
Programmer
- Mar 12, 2002
- 89
I loop through a recordset to print it's contents. One field contains multipleline text. To print that field I use the API-function DrawText.
I need to set the rec.bottom property dynamically to get the right size of the RECT depending on the size of the text in the field.
So far I have not succeeded to ge a satisfying solution.
Can anyone advise? Thanks for your assistance.
I need to set the rec.bottom property dynamically to get the right size of the RECT depending on the size of the text in the field.
So far I have not succeeded to ge a satisfying solution.
Can anyone advise? Thanks for your assistance.