In TCPDF there is GetCellHeight()
for measuring the height of a cell.
How do you measure the length or width of a string (or block of string) in TCPDF?
The method to get the string length is GetStringWidth()
. Check also the getNumLines()
and getStringHeight()
methods.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With