Apache PDFBox Table/Row Alignment with Boxable
I am exporting a PDF in my program, and I wanted to create a table with ApachePDF Box which should be about 50-60% of the Page width.
However, I didnt manage to find anything about centering the rows/the table itself.
I found how to align text in the row/cell itself, but if I create a Row that does not use the full width of the page, its always left aligned, and I dont know how to center align the row, since the row or table does not have a setAlign method.
Im using Boxable on top of it (https://github.com/dhorions/boxable)
from Recent Questions - Stack Overflow https://ift.tt/3q26emv
https://ift.tt/eA8V8J
Comments
Post a Comment