In TCPDF there is GetCellHeight()
for measuring the height of a cell.
How do you measure the length or width of a s开发者_运维技巧tring (or block of string) in TCPDF?
The method to get the string length is GetStringWidth()
. Check also the getNumLines()
and getStringHeight()
methods.
精彩评论