Click or drag to resize

PdfCommonInitialize Method

Initialize the SDK library

Namespace:  Patagames.Pdf.Net
Assembly:  Patagames.Pdf (in Patagames.Pdf.dll) Version: 3.43.2704
Syntax
public static void Initialize(
	string licenseKey = null,
	string specificPath = null,
	string icuSpecificPath = null
)

Parameters

licenseKey (Optional)
Type: SystemString
Yours license key. Can be null for demo mode
specificPath (Optional)
Type: SystemString
Path to the pdfium.dll. See remarks sections for detail.
icuSpecificPath (Optional)
Type: SystemString
Path to the icudt.dll. See remarks sections for detail.
Remarks

You have to call this function before you can call any PDF processing functions.

In some cases, library initializer can not find pdfim.dll/icudt.dll library to load. A typical example of this situation is a Web application. Web apps is running in a IIS working directory, unlike the classical apps. As a consequence, standard LoadLibrary function can not find the dll during loading process.

In this case, you must explicitly specify the full path to the dll files through specificPath parameters in the initialization method.

See Also