【发布时间】:2020-12-19 15:54:58
【问题描述】:
我正在尝试从 Xamarin.Forms 应用程序生成 PDF。
在 IOS 模拟器中,我在 document.Add 函数上得到 System.NotImplementedException
代码:
PdfDocument pdf = new PdfDocument(new PdfWriter(filenamepdf));
Document document = new Document(pdf);
String line = "Hello! Welcome to iTextPdf";
document.Add(new Paragraph(line));
document.Close();
在 Xamarin 上应该如何使用 IText?
IText 版本:7.1.13
【问题讨论】:
-
您可以查看下面的链接。 stackoverflow.com/a/44391318/11850033
标签: c# xamarin.forms itext itext7