Evaluation watermark problem

Last post 08-28-2009, 4:01 AM by aneesh.kumar. 2 replies.
Sort Posts: Previous Next
  •  08-27-2009, 9:10 AM 195367

    Evaluation watermark problem Java

    Attachment: Present (inaccessible)

    Hi

    I have  a license for ASPOSE total. Even if I use that, the generated PDF has a water mark in the page. The watermar is "Evaluation Only. Created with Aspose.Pdf for Java Copyright 2002-2008 Aspose Pty Ltd ". The licence file I have put in classpath . In other module my excel export is working with licence with out getting additional page  which says you are using evaluation version.And in PDF file is also not getting additional page after I started using licence file , but the water mark in the normal pages is still there. The process which I am using for generating PDF is first I am generating one excel file -(filling bean class properties to excel template using designer file with Aspose.cell ) then this created xls will converted to xml and creating pdf using Aspose.pdf. I am attaching code sample with this mail.



     

     
  •  08-27-2009, 2:48 PM 195463 in reply to 195367

    Re: Evaluation watermark problem

    Hello Aneesh,

    Thanks for considering Aspose.

    Can you please try setting the license information for Aspose.Pdf before creating its object. You can set the license information once the Excel worksheet is saved into an XML format. Please try using the following code snippet to set the license information for Aspose.Pdf for Java.

    [Java]

    com.aspose.pdf.License lic = new com.aspose.pdf.License();
       try
    {
             lic.setLicense(new FileInputStream(new File("D:/ASPOSE//Licenses/Aspose.Total.Java.lic"
    )));
             } catch (Exception
    e) {
                System.out
    .println(e.getMessage());
             }

    In case it does not resolve your problem, once the data is populated into Excel worksheet, save the file and share it with us, so that we can test the scenario at our end. You can also visit the following link for information on how to set Licensing information for Aspose.Pdf.

    We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  08-28-2009, 4:01 AM 195529 in reply to 195463

    Re: Evaluation watermark problem

    Hi

     

    Thaks for you quick reply. My problem is solved.

    Regards

    Aneesh

     
View as RSS news feed in XML