是否可以使用iText更改PDF文档的现有属性?
我试过了
Map<String, String> moreInfo = new HashMap<String, String>();
moreInfo.put(Meta.PRODUCER, "XXX");
moreInfo.put(Meta.AUTHOR, "YYY");
try {
stamp1.setMoreInfo(moreInfo);
}
catch (Throwable t) {
Log.d(this.getClass().getName(), t.getMessage());
}我没有得到任何异常,但也没有任何变化。
发布于 2013-06-06 22:32:17
这在iText的AGPL版本中是不可能的。购买许可证将使您能够更改该字段。请参阅iText limitations here的AGPL版本。
https://stackoverflow.com/questions/16963322
复制相似问题