开发者

iText Limiting Text Size in a Text Field

开发者 https://www.devze.com 2022-12-14 08:58 出处:网络
Is there any way we can specify the max number of chars a TextField can take in the PDF form created u开发者_JAVA技巧sing iText? According to the docs, the createTextField method takes a maximum lengt

Is there any way we can specify the max number of chars a TextField can take in the PDF form created u开发者_JAVA技巧sing iText?


According to the docs, the createTextField method takes a maximum length.

http://api.itextpdf.com/com/itextpdf/text/pdf/PdfFormField.html#createTextField(com.itextpdf.text.pdf.PdfWriter,%20boolean,%20boolean,%20int)

0

精彩评论

暂无评论...
验证码 换一张
取 消