【发布时间】:2016-04-15 01:40:40
【问题描述】:
它存在吗?我尝试使用 iTextSharp,但它不起作用。这个小例子的代码是错误的:
IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication();
Document document = new Document();
string path = "/first.pdf";
PdfWriter.GetInstance(document, store.CreateFile( path));
document.Open();
document.SetPageSize(PageSize.A4);
Paragraph p = new Paragraph("Working with pdfs");
document.Close();
错误信息是:
无法加载文件或程序集 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 或其之一 依赖项。系统找不到指定的文件。
有人可以帮助我吗?工作示例代码,工作 dll,任何东西......
【问题讨论】:
-
我认为 WP8 不存在 iTextSharp
标签: windows-phone-8 pdf-generation windows-phone itextsharp