Scheduled Maintenance
-
February 10, 2026, from 8:00 AM to 9:00 AM PST. Account-related operations might be temporarily unavailable.

Create PDF document using JavaScript

Creating a PDF document is similar to creating a XOD document except it requires a few more steps: we need to initialize the PDF worker based on the backend type for the browser we are using.

1// Instantiate a Document object.
2const licenseKey = 'YOUR_LICENSE_KEY';
3const doc = await Core.createDocument('/path/file.pdf', { l: licenseKey });
4
5// doc is Document instance and ready use

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales