File Content Extraction 26.1
Viewing SDK Programming Guide

# View PDF Documents

You can view PDF files with Viewing SDK in one of three ways:

- View the PDF by using the Adobe Acrobat ActiveX control.

- View the PDF by using the Microsoft WebBrowser ActiveX control.

- View an image of each page of the PDF by using the graphic-based PDF reader (`kppdf2rdr`).

By default, Viewing SDK uses the Acrobat ActiveX control to view PDF documents. If you do not want to redistribute the Acrobat Reader with your application, you can use the graphic-based reader instead.

## Use the Acrobat ActiveX Control

The Acrobat control is automatically installed with Adobe® Reader® 4.0 or later. To download the Adobe Reader, go to www.adobe.com.

## Use the Microsoft WebBrowser ActiveX Control

You can use the Microsoft WebBrowser ActiveX control to view PDF documents. The Microsoft WebBrowser ActiveX control is installed automatically with Microsoft Internet Explorer 3.0 or later. To use the WebBrowser ActiveX control to view PDF documents, follow one of these procedures:

In the `kvsdk.ini` file

1. Open the `kvsdk.ini` file with a text editor. The file is installed in the root of the Windows directory.

2. In the `[General]` section of the `kvsdk.ini` file, set the `UseHTMLPluginForPDF` parameter to `True`.

3. Pass the highlight or search term in by using `VAPIMWP_INIT_OPENDOCEX` (the extended version of `VAPIMWP_INIT_OPEN_DOCUMENT`. Refer to `ihademo.cpp` for details) with the `OpenDocInfo.lpszHighlight` structure. For example:

       OpenDocInfo.lpszHighLight="search_term";

   where `search_term` is the highlight or search term.

In the registry file

1. Open `install.reg.txt` ``in a text editor. The file is installed in the `install``\redist` directory, where `install` is the directory in which you installed Viewing SDK.

2. Under the `[HKEY_LOCAL_MACHINE\Software\Verity\Viewing SDK\General]` key, set the following parameter:

       "UseHTMLPluginForPDF"="true"

3. Save the file as `install.reg`.

4. Import the file into your Windows system registry.

## Use the Graphic-Based PDF Reader

The `kppdf2rdr` graphic-based reader produces high-fidelity raster images. However, it has the following limitations:

- Does not support anything beyond viewing, such as highlighting or annotation.

- Does not support PDFs containing XFA forms content.

To use the graphic-based reader to view PDF documents, follow one of these procedures.

In the `kvsdk.ini` file

1. Open the `kvsdk.ini` file with a text editor. The file is installed in the root of the Windows directory.

2. In the `[VAPI]` section, change the following line:

   `230=doc 0 kvaxcc.dll`

   to

   `230=pic 0 kvpicve.dll`

3. In the `[KVPICVE]` section, set the following parameter.

       230=kppdf2rdr.dll

In the registry file

1. Open `install.reg.txt` in a text editor. The file is installed in the `install\redist` directory, where `install` is the directory in which you installed Viewing SDK.

2. Under the `[HKEY_LOCAL_MACHINE\Software\Verity\Viewing SDK\VAPI]` key, change the `"230"="doc 0 kvaxcc.dll"` parameter to:

       "230"="pic 0 kvpicve.dll"

3. Under the `[HKEY_LOCAL_MACHINE\Software\Verity\Viewing SDK\KPICVE]` key, set the following parameter.

       "230"="kppdf2rdr.dll"

4. Save the file as `install.reg`.

5. Import the file into your Windows system registry.

Copyright 2016-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.1

Topic Title: View PDF Documents