Some test text!

menu
search
View a documentkeyboard_arrow_down

View a PDF document

For Server or Desktop-based applications, this is only available on Microsoft Windows.

To view a PDF document.

// create a view controller
PDFViewCtrl view = new PDFViewCtrl();

// create a doc instance
PDFDoc doc = new PDFDoc(filename);

// set doc to the view
view.SetDoc(doc);

PDF Viewer Control (Simple) sample
Full source code which shows how to use PDF viewer control in a basic project. The sample uses a number of built-in features from PDFViewCtrl to implement document navigation, text highlighting, markup, and editing.

linkAbout viewing a document

The PDFTron SDK comes with a powerful high level class called PDFViewCtrl that allows users to easily display PDF documents in their application. This class wraps around all the document processing lower level details that are required when displaying a PDF document.

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn more
close