开发者

How can I get the length of a string in TCPDF?

开发者 https://www.devze.com 2023-03-01 19:47 出处:网络
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 leng

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号