Lines that need to be forced justified is possible to do within the PDF Lib wizard using Spreadlimit. This allows a single line of text to extend from the very left and right of the block.
S P R E A D I N G T E X T
The trick to spreading text in a block is setting the spreadlimit to a high number.
A 5000% value should work, we probably can refine that if we know approximately the max and min sizes of the text.
All other properties can be used to change the effect, like charspacing and maxspacing and so on but for the basic operation just use:
Block Type: TextFlow
alignment: justify
lastalignment: justify
spreadlimit: 5000%
You may want to set the maxlines to 1 (not necessary if we're spreading, it would be useful if the text is too long and shrinking is preferred)
Attached is a pdf you can download and run to see how it works. SpreadTest.pdf
FYI: using PDF Lib Blocks 4.0 and higher you can run the pdf locally and see how each of the blocks work. You must have default text to view the effects. Also note that no custom functions will be taken into account. To run the preview enter some default text, save the pdf and click on the PDF Lib Block Preview icon in the PDF.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article