如何将资源中的pdf文件加载到pdfviewer中? [英] How can I load a pdf file from resources into a pdfviewer?

查看:517
本文介绍了如何将资源中的pdf文件加载到pdfviewer中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我正在使用skysof的.net pdf viewer控件。 通常它的工作原理如下:

Right now I am using the .net pdf viewer control from skysof.  Typically it works as :

pdfviewer1.OpenPDF(" C:\abs.pdf",1,90)   其中1是页码,90是分辨率。

pdfviewer1.OpenPDF("C:\abs.pdf", 1, 90)    where 1 is the page number and 90 is the resolution.

尽管我付出了最大努力,但我找不到将资源中的pdf文件加载到pdfviewer中的方法。

Despite my best efforts I cant find a way to load a pdf file from resources into the pdfviewer.

请告诉我是否 你可以尝试一下。你可以从skysof.com下载dll,它可以免费使用200个。

Please let me know if  you can try it out. You can download the dll from skysof.com, it gives 200 free uses.

我正在使用VB.net 2008

I am using VB.net 2008

谢谢你的时间。

推荐答案

与查看者的作者核实,看看它是否可以接受文件系统以外的来源。否则,您将文件写入临时文件夹并从文件系统加载。
check with the author of the viewer to see if it can accept a source other than the file system. Otherwise you write the file into a temp folder and load from the file system.


这篇关于如何将资源中的pdf文件加载到pdfviewer中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆