VeryPDF PDF Viewer OCX now supports JBIG2 compressed PDF files and 128bit AES protected PDF files

We have released a new version of PDF Viewer OCX control today, the new version is now support JBIG2 compressed PDF files and 128bit AES password protected PDF files, it is also supported JPEG2000 compressed PDF files too.

You can download new version of PDF Viewer OCX from following URL,

http://www.verypdf.com/dl2.php/pdfviewerocx.zip

1. Please unzip it to a folder, e.g., D:\pdfviewerocx

2. Please launch a CMD window by administrator privilege, (click right button on cmd.exe, select “Run as administrator” menu), switch the current directly to D:\pdfviewerocx directly,

3. Run “install.bat” to register pdfview.ocx control, you will get pdfview.ocx be registered successful,

image

4. OK, now please run pdfviewer.exe, click “Open” button to open a PDF file, you can view your PDF file without any problem now,

image

5. In the PDF Viewer OCX control, you can select text contents and copy them to clipboard, the hyperlinks are clickable too,

image

6. You can embed the PDF Viewer OCX into your C# source code easily,

image

You can use following C# source code to control Open, View, Rotate, set view mode, etc. options to PDF Viewer OCX Control,

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

 

namespace WindowsFormsApplication

{

    public partial class Form1 : Form

    {

        int nViewMode = 0;

        public Form1()

        {

            InitializeComponent();

        }

 

        private void Open_Click(object sender, EventArgs e)

        {

            OpenFileDialog dlgOpen = new OpenFileDialog();

            if (dlgOpen.ShowDialog() == DialogResult.OK)

            {

                axPdfview1.OpenPDF(dlgOpen.FileName, "", "");

            }

        }

 

        private void NextPage_Click(object sender, EventArgs e)

        {

            axPdfview1.ViewNextPage();

        }

 

        private void ActualSize_Click(object sender, EventArgs e)

        {

            axPdfview1.ZoomActualPage();

        }

 

        private void PreviousPage_Click(object sender, EventArgs e)

        {

            axPdfview1.ViewPreviousPage();

        }

 

        private void FitPage_Click(object sender, EventArgs e)

        {

            axPdfview1.ZoomFitPage();

        }

 

        private void FitWidth_Click(object sender, EventArgs e)

        {

            axPdfview1.ZoomFitWidth();

        }

 

        private void ZoomIn_Click(object sender, EventArgs e)

        {

            axPdfview1.ZoomIn();

        }

 

        private void ZoomOut_Click(object sender, EventArgs e)

        {

            axPdfview1.ZoomOut();

        }

 

        private void ViewMode_Click(object sender, EventArgs e)

        {

            if (nViewMode == 0)

                axPdfview1.ViewModeSinglePage();

            else if (nViewMode == 1)

                axPdfview1.ViewModeFacing();

            else if (nViewMode == 2)

                axPdfview1.ViewModeContinuous();

            else if (nViewMode == 3)

                axPdfview1.ViewModeContinuousFacing();

            nViewMode++;

            if (nViewMode >= 4)

                nViewMode = 0;

        }

 

        private void RotateLeft_Click(object sender, EventArgs e)

        {

            axPdfview1.RotateViewLeft();

        }

 

        private void RotateRight_Click(object sender, EventArgs e)

        {

            axPdfview1.RotateViewRight();

        }

 

        private void Search_Click(object sender, EventArgs e)

        {

            axPdfview1.SetFindText(SearchString.Text);

            axPdfview1.FindNextText();

        }

 

        private void SearchNext_Click(object sender, EventArgs e)

        {

            axPdfview1.FindNextText();

        }

    }

}

 

VN:F [1.9.20_1166]
Rating: 7.8/10 (4 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
VeryPDF PDF Viewer OCX now supports JBIG2 compressed PDF files and 128bit AES protected PDF files, 7.8 out of 10 based on 4 ratings

Related Posts

This entry was posted in PDF Viewer OCX and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!