SimplePDF
SimplePDF copied to clipboard
Add center text Thank you on last page
@ZetrixWeb-iOS don't understand the issue, do you face trouble adding centered Thank you to the last page?
Want add text center of page from both side
short answer: vertical positioning is not supported. But you can simulate vertical center by adding a lot of blank lines before the text (see how the demo does it on the very first page).
long answer: Providing provision for vertical positioning in a logical way isn't trivial. This is because it would directly conflict with table of contents calculation -- the code that calculates page numbers for table of contents is going to have to be updated -- therefore I don't think it is something that can be implemented in near future. Before implementing something like this, I would want to re-architect the code.
A properly implemented pdf library should have better architecture. See ReportLab for a good example, It's in Python though.