【发布时间】:2014-02-28 15:00:36
【问题描述】:
阅读Using LibTiff from C# (to access tiled TIFF images) 后,我决定尝试使用.Net 内置框架类TiffBitmapDecoder 从平铺的TIFF 图像生成pdf。
我得到了一个大约 4MB 的大 TIFF 图像,其中有图块。我之前用过iTextSharp,但不支持tiles错误。
但是如何在我的 Web 项目参考中添加 PresentationCore.dll 程序集?
我无法在Add Reference dialog 中看到。我用.Net 4.0 ASP.Net webform project
它只显示 System.Windows.Presentation
还有没有使用 LibTIFF 等第三方库的 .Net 内置框架类将平铺 TIFF 处理为 pdf 的人?
【问题讨论】:
-
在 Web 项目中添加对
PresentationCore的引用没有问题。你的目标是什么框架版本?以及 ASP.Net 的“风味”(例如 MVC 等)是什么? -
@Damien_The_Unbeliever,我们正在使用
.Net 4.0 ASP.Net webform project -
@Damien_The_Unbeliever,为你附上截图
-
你看错地方了,通过那个截图。程序集的名称是
PresentationCore。不是System.Windows.PresentationCore。
标签: c# asp.net .net itextsharp tiff