Hi
We are doing watermarking using Aspose Jars with Java APIs
We have implemented the following code snippets for license activation:
i)for pdf file type
com.aspose.pdf.License license = new com.aspose.pdf.License()…...License Validity : Ensure that the license is valid and not expired...verify if the stream contains data while configuring and setting...