image.jpg (157.6 KB)
@Shimo You can disable exporting generator name by setting the appropriate property in PdfSaveOptions.
Hi,I can not find any method name by ‘getExportGeneratorName/setExportGeneratorName’ in
aspose- word 21.7 for java! Why?
image.jpg (40.0 KB)
@Shimo This property was introduced in 21.8.0 version of Aspose.Words. Please try using the newer version.
hi,the method named by ‘getExportGeneratorName/setExportGeneratorName’ doesn’t work.image.jpg (38.7 KB)
My code is
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.setExportGeneratorName(false);
nodes.save(outputStream, SaveFormat.PDF);
@Shimo You should pass save option into the save
method:
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.setExportGeneratorName(false);
nodes.save(outputStream, pdfSaveOptions)
sorry,my fault
Thank you ,it works!
But how to remove the information when we convert excel or ppt to pdf!