Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does the PDF Library support a news-paper or column type layout?

0
Posted

Does the PDF Library support a news-paper or column type layout?

0

Not directly, but it can be done. Using the LayoutBox class you could first create a LayoutBox the width of one column. Fill this with your text, pictures etc., and then call the LayoutBox.split() method to split the LayoutBox into column-length chunks. Then just draw each chunk side by side on the page. A simple example illustrating this is included with the download package as “ColumnLayout.java”.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123