gpt4 book ai didi

c# - PdfReader 未打开,iText 中出现所有者密码错误

转载 作者:IT王子 更新时间:2023-10-29 04:18:07 25 4
gpt4 key购买 nike

引用这个

http://stackoverflow.com/questions/17524857/merging-pdf-in-asp-net-c-sharp/17525948?noredirect=1#comment25485091_17525948 

我的问题,我有用于合并 pdf 文档的用户 IText。对于某些文件,我得到 "PdfReader not opened with owner password "。有什么建议

最佳答案

在 PdfReader 定义之后添加这段代码

PdfReader.unethicalreading = true;

关于c# - PdfReader 未打开,iText 中出现所有者密码错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17691013/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com