以下是四种方法显示日文,都是经过测试的,能正常显示
如果你的pdf中还是不能正常显示,请确认
form.SetFieldProperty("txtCreatTime", T_FONT, fnt5, null);
form.SetField("txtCreatDate", "XX");
这两个属性中第一个参数时候正确有可能需要加命名空间,例如:
string formNM = "form1[0].#subform[0].";
fields.SetFieldProperty(formNM + pair.Key, T_FONT, baseFont, null);
fields.SetField(pair.Key, pair.Value);