在c#windows中使用pdfxchangeviewer显示pdf文件的字节数据 [英] show byte data of pdf file using pdfxchangeviewer in c# windows
本文介绍了在c#windows中使用pdfxchangeviewer显示pdf文件的字节数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
先生,
早上好,我必须在Windows窗体中显示预览pdf文件。
所以我会选择PDF-XChange Viewer控件来预览pdf文件,它工作正常。
但我必须从数据库中获取pdf文件作为byts格式我将pdf保存为流文件。
如果我调用pdfviewer.src = string path,工作正常。
i需要pdfviewer = byte [] pdf文件。
i尝试了很多方法帮助我获得解决方案
谢谢
Nandakumar S
Hi sir,
good morning, i have to show as preview pdf files in windows forms.
so i''d choose PDF-XChange Viewer control to preview pdf files, its working fine.
but i have to get pdf file from database as byts format which i saved pdf as stream files.
if i call pdfviewer.src=string path, working fine.
i need to pdfviewer = byte[] pdf file.
i tried so many ways help me to get solution
Thanks
Nandakumar S
推荐答案
http://channel9.msdn.com/Forums/ TechOff / 556523-Creating-pdf-from-byte-array-in-c [ ^ ]
http://stackoverflow.com/questions/4328074/open-file-from-byte-array [ ^ ]
这篇关于在c#windows中使用pdfxchangeviewer显示pdf文件的字节数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文