[]
        
(Showing Draft Content)

Licensing and Redistribution

Document Solutions for PDF JS supports three licensing modes: Unlicensed, Evaluation, and Production. The behavior of the library depends on the license that is applied at runtime.

When no license is applied or when an expired evaluation license is applied, the library runs in unlicensed mode, which allows development and testing but includes functional limitations. An evaluation license allows you to use the full functionality of the product for a limited evaluation period. A production license removes evaluation restrictions and enables use of the library in deployed applications.

Note: DsPdfJS also supports server‑side licenses for applications running in non‑browser environments such as Node.js. Server licenses are issued separately. For more information, contact us.sales@mescius.com.

Unlicensed

If no license key is applied or when an expired evaluation license key is applied, DsPdfJS runs in unlicensed mode.

In this mode the library works with limitations intended for development and evaluation purposes. Generated PDF pages contain a watermark and loading PDF documents is limited to the first five pages.

When running on localhost, a valid browser license issued for any domain is considered valid. This allows development and testing on local environments before deploying to a production domain.

To remove these limitations, apply an evaluation license or a production license.

Note: Browser licenses for DsPdfJS are domain‑bound. The hostname of the running application must match one of the domains embedded in the license key.

Evaluation License

You can obtain a free 30‑day evaluation license by contacting us.sales@mescius.com.

The evaluation license allows you to develop and test your application using all features of the library during the evaluation period.

After the evaluation license expires, the library reverts to unlicensed mode, and the associated limitations apply.

Production License

After purchasing DsPdfJS, you will receive a production license key that removes all evaluation limitations.

You can set this hostname for your license key by registering your license and generating the distribution key under your Mescius account's My Licenses page.

Once a valid license key is applied, the library operates without evaluation restrictions.

For production licenses for server deployment, please contact us.sales@mescius.com.

Apply License

To use DsPdfJS with an evaluation or production license, be sure to apply the license key before initializing or using the library.

To apply a license:

  1. Obtain a valid license key.

  2. Set the license key using the setLicenseKey method.

  3. Ensure the license is applied before using any library functionality.

The following code snippet shows how to apply a license key:

// Set the license key (note that the setLicenseKey method is async):
await DsPdfConfig.setLicenseKey("your_license_key");