Created with a trial version of Syncfusion Essential PDF

Hi, im having an issue with downloading or saving pdf files, all the files save with the message above - Created with a trial version of Syncfusion Essential PDF  i register my license like this 


using this version of vue syncfusion components 


1 Reply

GK Gowthamraj Kumar Syncfusion Team August 11, 2022 01:46 PM UTC

Hi Jesus,


If you are using Net Core library, we can add the license key before the pdf document creation code. Please use the below code to register the license key like this,


Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("Your Licensing key");

//Create a new PDF document.

PdfDocument document = new PdfDocument();

//Add a page to the document.

PdfPage page = document.Pages.Add();

//Create PDF graphics for the page.

PdfGraphics graphics = page.Graphics;

//Set the standard font.

PdfFont font = new PdfStandardFont(PdfFontFamily.Helvetica, 20);

//Draw the text.

graphics.DrawString("Hello World!!!", font, PdfBrushes.Black, new Syncfusion.Drawing.PointF(0, 0));


 

//Save the PDF document to stream

MemoryStream stream = new MemoryStream();

document.Save(stream);

//If the position is not set to '0' then the PDF will be empty.

stream.Position = 0;

//Close the document.

document.Close(true);

 

Syncfusion license keys are not server-specific\system specific. A single license key can be used on different servers, systems, or projects. If the projects work in local it will be worked in the published location also.

Syncfusion license keys are version and platform-specific and the generated license key is just a string that needs to be registered before any Syncfusion control is initiated.


Find the below knowledge base article to know about which version license key should use in the application,

https://www.syncfusion.com/kb/8951/which-version-syncfusion-license-key-should-i-use-in-my-application


Please follow the below kb article to know more information on removing the license warning message.

https://www.syncfusion.com/kb/12756/how-to-resolve-syncfusion-license-popup-message-or-trial-message-warning


Note: If you are using any template file for generating the PDF document, please ensure that the original template file doesn’t have any license trial warning.


For generating and registering a license key please refer to the following documentation.

https://ej2.syncfusion.com/javascript/documentation/licensing/license-key-generation/

https://ej2.syncfusion.com/javascript/documentation/licensing/license-key-registration/


If the reported issue is still not resolved, please share with us the following details to check the issue from our side,


  1. List of Syncfusion NuGet packages\assemblies used and its version,
  2. Component details, PDF creation or exporting pdf from other control?
  3. TargetFrameWork of your application,
  4. Screenshot of the issue.
  5. License key used in your application.


Regards,

Gowthamraj K


Loader.
Up arrow icon