Free Support Forum - aspose.com

How to ASPOSE license in VB.net for word to pdf conversion

Based on the reference in Aspose site, we can apply license any one of the below method. I used highlighted method. But still I got evaluation water mark in generated document.
Licenses can be applied from various locations:
 Explicit path.
 The folder that contains the Aspose.Words.dll file.
 The folder that contains the assembly that called Aspose.Words.dll.
 The folder that contains the entry assembly (your .exe).
 An embedded resource in the assembly that is called Aspose.Words.dll.

I have few clarifications:
Aspose.Words.dll is resided in multiple folder, As we are using Dotnet frame work 4.5 , which DLL need to be used.

I used Aspose.Words.dll from net40-client folder and placed license over there. But still I am getting evaluation water mark in generated document.
Please advise .

@AnandhaGanesh,

Thanks for your inquiry. Please use DLL from net20 folder. It works for .NET Framework 4.5. Please make sure that you are calling License.SetLicense method before importing document. You can use License.IsLicensed property to check either license is applied or not. This property returns true if a valid license has been applied.