Click or drag to resize

PdfCommonInitialize Method

Initialize the SDK library

Namespace:  Patagames.Pdf.Net
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.81.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.81.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 dynamic library (.dll/.dylib). See remarks sections for detail.
icuSpecificPath (Optional)
Type: SystemString
Path to the icudt dynamic labrary (.dll/.dylib). 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/icudt dynamic library (.dll/.dylib) 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