PDF Web Viewer
    Preparing search index...

    SDK Configuration

    When initializing the SDK using PdfSdk.initialize, you can provide the following configuration options.

    await PdfSdk.initialize({
    license: 'YOUR_LICENSE_KEY',
    workerPath: '/assets/script/pdfworker.js',
    // ... other options
    });
    Option Type Description Required
    license string Your license key Yes
    workerPath string Path to the PDF worker script Yes (browser only)
    logging boolean Enable debug logging No
    fontsPath string Path to custom fonts directory No