Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
iText で最初と最後のページに異なる余白を指定する方法はありますか? 最初のページに配置する大きなヘッダーと、最後のページに配置する大きなフッターがあります。
問題は、フッターを絶対に配置すると、絶対配置のためにページのコンテンツが重なる可能性があることです。
はい。newpage()最後のページを作成する前に、余白を設定してからオブジェクトのメソッドを呼び出しDocumentます。
newpage()
Document