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.
有什么方法可以指定 TextField 在使用 iText 创建的 PDF 表单中可以接收的最大字符数?
根据文档,createTextField方法需要最大长度。
http://api.itextpdf.com/com/itextpdf/text/pdf/PdfFormField.html#createTextField(com.itextpdf.text.pdf.PdfWriter,%20boolean,%20boolean,%20int)