06-20-2019, 04:27 PM
Hallo,
I have problems in converting HTML to PDF. The reason, I think, is that the height of the form (delphi) differs from HTML height. Infact Delphi sees wrapped labels as 1 line.
Normally I set Form Height as the top of the last line but it seems not to be possible with wrapped labels.
I tried calculating the height of wrapped labels in JavaScript and posted the value in a label of the screen. I see the value but when I read that value (on click) it returns empty.
Any suggestion?
Is there another way to resize the form with the correct height?
Best regards
I have problems in converting HTML to PDF. The reason, I think, is that the height of the form (delphi) differs from HTML height. Infact Delphi sees wrapped labels as 1 line.
Normally I set Form Height as the top of the last line but it seems not to be possible with wrapped labels.
I tried calculating the height of wrapped labels in JavaScript and posted the value in a label of the screen. I see the value but when I read that value (on click) it returns empty.
Any suggestion?
Is there another way to resize the form with the correct height?
Best regards