Delphi Example

<< Click to Display Table of Contents >>

Navigation:  Create a PDF Editor >

Delphi Example

In this chapter we will show you how to quickly create a PDF viewer or PDF editor in Delphi using WPViewPDF V4 and its new "Actions" feature.

 

This example is initialized mostly by a scripting. It also uses some generic code which can copy&pasted directly from here. After the scripted initialization you can easily modify all aspects in the designer. You will find this demo in directory "WPViewer4".

 

First we create a new project. We select the single form template, although we want to implement viewing of multiple PDF files at the same time. Instead we of MDI we will use a page control to switch between PDF files.

 

In this example we use the interactive designer to create the form. It is also possible to create it completely in code, and not much more difficult. You will find same code in project "PDFedit".