Jak zastosować klucz licencyjny IronPDF w projektach Node.js

This article was translated from English: Does it need improvement?
Translated
View the article in English

Jak uzyskac klucz licencyjny

Dodanie klucza licencyjnego IronPDF pozwala na wdrożenie projektu na żywo bez ograniczeń lub znaków wodnych.

Możesz kupić licencję IronPDF lub zarejestrować się, aby uzyskać bezpłatną 30-dniową licencję probną IronPDF.

Zastosuj swój klucz licencyjny

Po zainstalowaniu IronPDF, skonfiguruj IronPDF do uzywania klucza licencyjnego, ustawiajac wlasciwosc licenseKey jego globalnego obiektu konfiguracji. Poniższy kod pokazuje, jak to zrobić:

// Import the IronPdfGlobalConfig from the IronPDF package
import { IronPdfGlobalConfig } from "@ironsoftware/ironpdf";

// Apply your IronPDF license key
// Replace {YOUR-LICENSE-KEY-HERE} with the actual license key you received
IronPdfGlobalConfig.getConfig().licenseKey = "{YOUR-LICENSE-KEY-HERE}";

Masz pytania lub potrzebujesz pomocy?

Jeśli potrzebujesz dodatkowego wsparcia lub masz jakieś pytania, nasz zespół chętnie Ci pomoże. Nie wahaj się skontaktować z naszym zespołem wsparcia.

Często Zadawane Pytania

How can I obtain a license key for my Node.js project?

You can obtain a license key by purchasing an IronPDF license or by signing up for a free 30-day trial on the IronPDF licensing page.

Why is it important to add a license key to my project?

Adding a license key allows you to deploy your Node.js project using IronPDF without any restrictions or watermarks, ensuring full functionality.

How do I configure my Node.js project with a license key?

To configure your project, set the licenseKey property of the IronPDF global configuration object using: IronPdfGlobalConfig.getConfig().licenseKey = '{YOUR-LICENSE-KEY-HERE}';

What should I do with the placeholder '{YOUR-LICENSE-KEY-HERE}'?

Replace the placeholder {YOUR-LICENSE-KEY-HERE} in your code with the actual license key you received upon purchase or trial registration.

How can I contact support if I encounter issues?

For support or inquiries, reach out to the IronPDF support team via the live chat support link on the website.

What are the consequences of not applying a license key?

Without a license key, your IronPDF project may experience restrictions or display watermarks, limiting its utility.

Is a trial version of IronPDF available for Node.js?

Yes, a free 30-day trial license of IronPDF is available, allowing you to test the software without commitment.

What is the process to integrate a license key into IronPDF for Node.js?

To integrate a license key, import IronPdfGlobalConfig from the IronPDF package and set the licenseKey property in the global configuration object with your license key.

.NET 10 — How do I apply an IronPDF license key in a .NET 10 project?

In a .NET 10 project, you can apply the IronPDF license key by installing the IronPdf package via NuGet, and then setting the key in code before any IronPDF functions are called: IronPdf.License.LicenseKey = "YOUR-LICENSE-KEY"; Alternatively, you may add the key in your appsettings.json using the key "IronPdf.LicenseKey", ensuring the file is copied to the output directory. If using .NET Framework, Web.config or App.config with anentry named IronPdf.LicenseKey also works. Validate successful licensing by checking IronPdf.License.IsLicensed.

Curtis Chau
Autor tekstów technicznych

Curtis Chau posiada tytuł licencjata z informatyki (Uniwersytet Carleton) i specjalizuje się w front-endowym rozwoju, z ekspertką w Node.js, TypeScript, JavaScript i React. Pasjonuje się tworzeniem intuicyjnych i estetycznie przyjemnych interfejsów użytkownika, Curtis cieszy się pracą z nowoczesnymi frameworkami i tworzeniem dobrze zorganizowanych, atrakcyjnych wizualnie podrę...

Czytaj więcej
Gotowy, aby rozpocząć?
Wersja: 2026.4 just released
Still Scrolling Icon

Wciąż przewijasz?

Czy chcesz szybko dowodu?
Uruchom przykład i zobacz, jak Twój kod HTML zamienia się w plik PDF.