PDF损坏的iTextSharp C#

时间:2020-07-16 09:26:34

标签: c# pdf itext

这是我第一次使用此itextsharp框架。 我尝试将我的票务项目(Datagrid)转换为pdf文件。

我没有得到任何例外,并且创建了pdf文件,但我无法打开它(PDF损坏)。

希望你能帮助我

String imgsrc = ""; // Some Path that has been set from my server property file.
final Context ctx = new Context(locale);
ctx.setVariable("imageSrc", imgsrc);

0 个答案:

没有答案
相关问题