DevExpress of PdfViewer add toolbar achieve PDF open, preview, save, print

Scenes

Winform controls -DevExpress18 download and install the registration and use in VS:

https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100061243

DevExpress reference to the above will be installed and the introduction to the toolbox.

So here are using the VS2013 installed DevExpress is 14 version.

DevExpress14 download and Fillmore


https://download.csdn.net/download/badao_liumang_qizhi/11608734

 

DevExpress use of PdfViewer achieve PDF open, preview, save as, print (with source code download):

https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100096388

https://www.cnblogs.com/badaoliumangqizhi/p/11417303.html

achieve

After the implementation of the above PDF previews, and other using the original method, in fact, has provided PdfViewer toolbar can achieve these functions.

In the form load event in Winform

 private void Form1_Load(object sender, EventArgs e)
        {
            this.pdfViewer1.CreateBars();
        }

 

effect

 

 

Guess you like

Origin www.cnblogs.com/badaoliumangqizhi/p/11417383.html