<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Aspose "Evaluation only" message</title><link>https://answers.axonivy.com/questions/2526/aspose-evaluation-only-message</link><description>&lt;p&gt;&lt;img alt="Evaluation only" src="http://answers.axonivy.com/upfiles/aspose-evaluation-only.png"&gt;&lt;/p&gt;
&lt;p&gt;I create documents with Aspose, which is offically part of IvyAddOns. Why is on each generated document an "evaluation only" message?&lt;/p&gt;
&lt;p&gt;This code generates the document:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import com.aspose.words.Document;
Document doc = new Document("C:\\temp\\test.docx");
doc.save("C:\\temp\\test.pdf");
&lt;/code&gt;&lt;/pre&gt;</description><atom:link href="https://answers.axonivy.com/questions/2526/aspose-evaluation-only-message" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 24 Mar 2017 10:05:15 -0400</lastBuildDate><item><title>Answer by Alex Suter</title><link>https://answers.axonivy.com/questions/2526/aspose-evaluation-only-message/2527</link><description>&lt;p&gt;You are using Aspose directly. In this case you must ensure that the Aspose License is loaded.  The easiest way is just to execute the following statement within the process. This statement will load the Aspose license:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;new AsposeDocFactory();
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You may work directly with the DocFactory-API. Sample conversion of Word-Document to PDF:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;BaseDocFactory docFactory = new AsposeDocFactory();
docFactory .generateDocument("C:\\dev\\test.docx", "abc", "C:\\dev\\", ".pdf", new ArrayList&amp;lt;&amp;gt;());
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Update 13.10.2017&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You may need another Aspose license. I recommend to load the specific license over the following API:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ch.ivyteam.ivy.addons.docfactory.aspose.LicenseLoader.loadLicenseforProduct(AsposeProduct)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;new AsposeDocFactory()&lt;/code&gt; would only load the license of type &lt;code&gt;AsposeProduct.WORDS&lt;/code&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Fri, 24 Mar 2017 10:05:15 -0400</pubDate><guid>https://answers.axonivy.com/questions/2526/aspose-evaluation-only-message/2527</guid></item></channel></rss>