通过使用itextsharp,我尝试将表单文本字段的字体大小设置为auto。textsize", d, null);}System.InvalidCastException: Specified cast is not valid.
at iTextSharp.text.pdf.AcroFields.SetFieldProperty
我们在一个项目中使用itextsharp库从html创建pdf。一切正常,但PDF并不能创建与html文本完全相同的副本。size="4">Generate button to view pdf 下面的代码是用来生成PDF的,然后字体大小不能正确地被它获取文本arrList.size(); ++k) {
para.add((com.lowagie.te