ViewerStart method

<< Click to Display Table of Contents >>

Navigation:  Component Description > Methods >

ViewerStart method

This method is slightly different in VCL and .NET edition:

 

A) .NET

This method is used to set the license keys. (You cannot set the DLL name - it must be encoded in the interface assembly since the [DLLImport] requires a fixed name.)

B) VCL (for Delphi and C++Builder)

 

procedure ViewerStart(DLLNameAndPath, licensename, licensekey: string; licensecode: Integer);

 

This method is used to set the license keys. Optionally the DLL name can be defined.

In case the file PDFLicenses.INC contains valid information it is used automatically.