Skip to main content

I am creating PDF documents with a series of responses, so I first create a multi-line attribute then I pass that through the PDFPageFormatter and onto a PDF writer. The problem is some of the responses run off the page. I am needing to restrict the width of the multi-line attribute using something like a word-wrap function.

 

Any ideas?

I highly recommend the Custom Transformer - TextWrapper. I had a similar problem and this solved it beautifully.

https://hub.safe.com/publishers/david-r/transformers/textwrapper


Thank you @drc43​ , that worked well.


Reply