0
votes

I'm creating a pdf file using aspose cells. When the pdf file created, there is a text which is Evaluation Only. Created with Aspose.Cells for Java.Copyright 2003 - 2016 Aspose Pty Ltd. . I want to remove it but I don't know how to do it.

How can I do this?

sample

My codes is here

Workbook workbook=new Workbook("C:\\Users\\ftk1187\\Desktop\\DICA.xls");
Worksheet worksheet = workbook.getWorksheets().get(0);
worksheet.getPageSetup().setPaperSize(PaperSizeType.PAPER_A_4_EXTRA);
worksheet.getPageSetup().setOrientation(PageOrientationType.PORTRAIT);
worksheet.getPageSetup().setZoom(75);
worksheet.setTransitionEvaluation(false);
OutputStream out=new FileOutputStream("C:\\Users\\ftk1187\\Desktop\\DICA.pdf");         
workbook.save(out, SaveFormat.PDF);
1

1 Answers

1
votes

Since you are not using and setting a valid license of Aspose.Cells for Java, so your code will be processed in evaluation mode where your output files would always have evaluation watermark, you cannot remove it. See the document for reference.

PS. I am working as Support developer/ Evangelist at Aspose.