开发者

Containing a DomPDF text object within an area

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜