加删除线:

.setUnderline(Color.BLACK, 2.0f, 0.0f, 6.0f, 0.0f, 1)

https://developers.itextpdf.com/examples/merging-pdf-documents/clone-merging-documents-and-create-table-contents#796-mergewithtoc2.java

05-08 08:41