iTextPdf 替换 PDF 对象错误标志

问题描述

我在 C# 中使用了这个例子

https://kb.itextpdf.com/home/it7kb/examples/replacing-pdf-objects

我的代码中的问题:

String replacedData = IO.Util.JavaUtil.GetStringForBytes(data).Replace(placeholder,replacetext);

字符串 replacetext 是:34,60

在最终的 PDF 中

finalpdf-wrong-replace-screenshot

我能做什么,有什么想法吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)