如何从 pdf 文件中删除 Spire.XLS 签名?

How to remove Spire.XLS signature from pdf File?

我正在处理 java,我有一个名为“file.xlsx”的 excel 文件,我想使用 Spire.XLS 将其转换为 pdf,这是我为此编写的代码:

            //Create a Workbook instance
            workbook = new Workbook();
            //Load an Excel file
            workbook.loadFromFile("file.xlsx");

            //Get the first worksheet
            sheet = workbook.getWorksheets().get(0);
            //Add a new worksheet to the workbook
            sheet_copy = workbook.getWorksheets().add("Copy of sheet1");
            //Copy the first worksheet to the new worksheet
            sheet_copy.copyFrom(sheet);

            //Save the result file
            workbook.saveToFile("file.xlsx");
            
            workbook.saveToFile("result.pdf", com.spire.xls.FileFormat.PDF);

pdf 文件已生成,但带有签名:评估警告:文档是使用 Spire.XLS 为 Java[ 创建的=19=],我想知道如何删除它,知道吗?

申请专业试用许可证或

根据古老的答案使用免费版本

Free version doesn't have evaluation warning on result file. Please make sure the version you were using is correct,

https://www.e-iceblue.com/forum/evaluation-warning-the-document-was-created-with-spire-pdf-t4925.html

https://www.e-iceblue.com/Download/xls-for-java-free.html

或 .net 用户

https://www.e-iceblue.com/Download/download-excel-for-net-free.html