Spire.PDF 8.1 supports removing JavaScript of the PDF document

Thursday, 06 January 2022 01:28

We are glad to announce the release of Spire.PDF 8.1. This version supports removing JavaScript of the PDF document. It also enhances the conversion from PDF to PDF/A. In addition, it fixes some known issues such as the content was incorrect after printing. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPDF-3345
SPIREPDF-4825
Supports removing JavaScript of the PDF document.
PdfDocument doc = new PdfDocument(@"input.pdf");
doc.RemoveDocumentJavaScript();
doc.SaveToFile(@"output.pdf", FileFormat.PDF); 
Bug SPIREPDF-1245 Fixes the issue that the text content extracted was incorrect.
Bug SPIREPDF-3731 Fixes the issue that the signature was not valid when adding the same signature to each page of the PDF.
Bug SPIREPDF-4738 Fixes the issue that the output was incorrect after adding PdfPolygonAnnotation.
Bug SPIREPDF-4784 Fixes the issue that the application threw "IndexOutOfRangeException" when extracting text.
Bug SPIREPDF-4807 Fixes the issue that the content was incorrect after printing.
Bug SPIREPDF-4815 Fixes the issue that the effect was incorrect after setting the PdfPolyLineAnnotation border thickness.
Bug SPIREPDF-4818 Fixes the issue that the bold font style didn't take effect when filling data in TextBox field.
Bug SPIREPDF-4826 Fixes the issue that the content was incorrect after printing.
Bug SPIREPDF-4847 Fixes the issue that the attachment file name extracted was incorrect.
Bug SPIREPDF-4854 Fixes the issue that the application threw "System.IO.IOException" when merging documents and saving the generated document to a input file path.
Bug SPIREPDF-4858 Fixes the issue that the application threw "System.NullReferenceException" when converting PDF to PDF/A.
Click the link to download Spire.PDF 8.1:
More information of Spire.PDF new release or hotfix: