Please give a brief summary of your issue:
(Think of this as an email subject)
PDFNet.initialize(licenseKey) initiallizing with multiple license keys
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
in my scenario i am using PDFTron library to convert docx file to pdf using below method
Convert.officeToPdf(doc, memoryFilter, null);
this is done in a sring boot service , i want a capability to call PDFNet.initialize(licenseKey) with different license key where i get license key in every request to my service , is this possible to initialize PDFNet with different license key in same java process ? if yes is there any performance impact of same ?
Please provide a link to a minimal sample where the issue is reproducible:
Hello, I’m AiRon, an automated tech support bot While you wait for one of our customer support representatives, I can help you with your question.
When using Apryse’s PDFNet SDK, the PDFNet.initialize() method should be called once with your license key at the start of your application. Initializing it multiple times with different license keys within the same application process is not recommended or supported. The initialization is intended to be a one-time setup process, and calling it multiple times with different keys may lead to unexpected behavior or performance issues.
Some things you can try:
Initialize PDFNet with a single license key at the application startup. This key should cover all the functionalities you need across different requests.
If you have different keys for different functionalities or services, consider consolidating them into a single license key if possible.
Ensure that the key is set correctly before any PDFNet functions are called to avoid running in demo mode.