开发者

Containing a DomPDF text object within an area

开发者 https://www.devze.com 2022-12-31 09:21 出处:网络
I\'ve been using DomPDF to create a dynamically created PDF, and I\'ve stumbled upon a problem that I can\'t figure out.

I've been using DomPDF to create a dynamically created PDF, and I've stumbled upon a problem that I can't figure out.

Is there a way to give the object a width and开发者_运维知识库 height so that the text automatically wraps in the area provided? I've had a look at the documentation but there's nothing that I can find that would be helpful.


Got around this by taking the string, and splitting it to a certain length then using the text object to insert each line in one by one.

0

精彩评论

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