Spire.PDF 7.3.1

Spire.PDF 7.3.1 supports removing form field

We are happy to announce the release of Spire.PDF 7.3.1.This version supports removing form field as well as adding PDF Portfolio from stream. In addition, it also enhances the conversions from PDF to Word/Image/PDF/A-3A and fixes the issues occurred in the process of extracting and replacing text. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New Feature SPIREPDF-281 Supports removing form field.
string input = @"Field.pdf";
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(input);
PdfFormWidget formWidget = doc.Form as PdfFormWidget;
if (formWidget != null)
{
//method 1
//formWidget.FieldsWidget.Clear();
for (int i = formWidget.FieldsWidget.List.Count - 1; i >= 0; i--)
{ 
//method2 
PdfField field = formWidget.FieldsWidget.List[i] as PdfField; formWidget.FieldsWidget.Remove(field);
}
}
string output = "DeleteFormField.pdf";
doc.SaveToFile(output);
New Feature SPIREPDF-4062 Supports adding PDF Portfolio from stream.
PdfDocument doc = new PdfDocument();
MemoryStream stream = new MemoryStream(File.ReadAllBytes("test.pdf"));
doc.Collection.AddFile("file.pdf", stream);
doc.SaveToFile("result.pdf");
Bug SPIREPDF-927 Fixes the issue that a warning popped when opening the PDF saved after filling textBox form field.
Bug SPIREPDF-1322 Fixes the issue that the text order was incorrect when extracting text from PDF.
Bug SPIREPDF-3039 Fixes the issue that adding timestamp to digital signature by using NETCore failed.
Bug SPIREPDF-3770 Fixes the issue that the saved PDF document size was big after splitting PDF.
Bug SPIREPDF-3975 Fixes the issue that there wasn't output PDF when converting Html to PDF with Plugin in Linux.
Bug SPIREPDF-4038 Fixes the issue that the application threw System.ArgumentNullException when converting PDF to Image.
Bug SPIREPDF-4040 Fixes the issue that the generated file did not conform to the standard of PDF/A-3A after converting PDF to PDF/A-3A.
Bug SPIREPDF-4042 Fixes the issue that the application threw the error “An item with the same key has already been added” when getting the properties “DocumentInformation” and “Conformance” of the PDF.
Bug SPIREPDF-4044 Fixes the issue that an error popped when opening the result file after compressing the images in the PDF.
Bug SPIREPDF-4047 Fixes the issue that the drawn grid was incorrect.
Bug SPIREPDF-4053 Fixes the issue that an error popped when opening the result file after replacing the text.
Bug SPIREPDF-4056 Fixes the issue that it failed to add the weblink to PDF.
Bug SPIREPDF-4061 Fixes the issue that the generated PDF was blank when using the CreateTemplate method to draw PDF pages.
Bug SPIREPDF-4063 Fixes the issue that there was an error popped when opening the converted PDFA3A file in Adobe.
Bug SPIREPDF-4064 Fixes the issue that the document could not be edited after removing the signature field.
Bug SPIREPDF-4069 Fixes the issue that the layout was messed up when using WPS to open the result word document after converting PDF to Word.
Bug SPIREPDF-4070 Fixes the issue that the application threw System.FormatException when converting PDF to Image.
Bug SPIREPDF-4075 Fixes the issue that the verification failed when verifying the converted PDFA3A file
Click the link to download Spire.PDF 7.3.1:
More information of Spire.PDF new release or hotfix: