开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜