pdf页面显示问题! 在.net中想让上传的pdf文件显示到页面上,显示的pdf文件不让另存为、打印等操作。这个功能怎么实现呢? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 本帖最后由 net_lover 于 2011-11-30 13:45:54 编辑 怎么转啊,我这有个方法,但不知道转换后怎么显示啊! private void pdf2swf(string docFile, string swfFile) { try { Process process = new Process(); ProcessStartInfo startInfo = new ProcessStartInfo(); string paperroot = @"C:\Program Files\Macromedia\FlashPaper 2\FlashPrinter.exe"; startInfo.FileName = paperroot; startInfo.Arguments = docFile + " -o " + swfFile; startInfo.UseShellExecute = false; //不使用系统外壳程序启动 startInfo.RedirectStandardInput = false; startInfo.RedirectStandardOutput = false; //重定向输出 startInfo.CreateNoWindow = true; //不创建窗口 process.StartInfo = startInfo; process.Start(); if (process != null) process.Close(); } catch (Exception ex) { Response.Write(ex.Message); } }两个参数,分别是什么啊,转换后怎么显示啊! 还有个问题: 转换时能不能把FlashPaper的窗口隐藏掉,不让显示! startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; winform的话用webbrowser可以显示。 activex 类似:http://brava70demo.infograph.com/ 我是想怎样让Flashpaper隐藏,也就是后台转换! vs2005的profile如何使用 .net 客户端播放wav wav在服务器目录下 求教一个字符数组的问题 GridView分页速度慢? 邮件发送 怎么让这个HTML和.NET控件不可直接键盘输入,而只能由点击旁边的图标选择输入呢,并且输入的数据能保存? Repeater字符串截取的问题??? asp.net中web控件对js文件中函数的调用 生成静态HTML页面的疑问 IIS经常在凌晨自动崩溃 Jquery 文本框 调用方法问题 如何判断客户端是用平板电脑还是手机浏览的?及分辨率
private void pdf2swf(string docFile, string swfFile)
{
try
{
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
string paperroot = @"C:\Program Files\Macromedia\FlashPaper 2\FlashPrinter.exe"; startInfo.FileName = paperroot;
startInfo.Arguments = docFile + " -o " + swfFile;
startInfo.UseShellExecute = false; //不使用系统外壳程序启动
startInfo.RedirectStandardInput = false;
startInfo.RedirectStandardOutput = false; //重定向输出
startInfo.CreateNoWindow = true; //不创建窗口
process.StartInfo = startInfo;
process.Start();
if (process != null)
process.Close(); }
catch (Exception ex)
{
Response.Write(ex.Message); }
}
两个参数,分别是什么啊,转换后怎么显示啊!