Skip to content

Offline initialization

Method: init_(license : string)

Initialize the ComPDFKit SDK offline using your ComPDFKit commercial license key. Please contact our sales to obtain a trial license.

Parameters:

NameTypeDescription
licenseStringYour ComPDFKit license key

Returns a Promise.

NameTypeDescription
resultbooleanReturns true if initialization is successful, otherwise returns false.
tsx
ComPDFKit.init_('your compdfkit license')