News Category

Spire.PDF 8.3.9 supports filling XFA image field

2022-03-23 01:58:07

We are glad to announce the release of Spire.PDF 8.3.9. This version supports filling XFA image field. In addition, it fixes some known issues such as the merged PDF file was unable to be opened. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPDF-415 Supports filling XFA image field.
PdfDocument pdfDocument = new PdfDocument();
pdfDocument.LoadFromFile(inputFile);
PdfFormWidget form = pdfDocument.Form as PdfFormWidget;
if (form.XFAForm != null)
{
List<XfaField> xFields = form.XFAForm.XfaFields;
for (int i = 0; i < xFields.Count; i++)
{
if (xFields[i] is XfaImageField)
{ XfaImageField xImageField = xFields[i] as XfaImageField; FileStream fileStream = new FileStream(imageName, FileMode.Open, FileAccess.Read, FileShare.Read); xImageField.Image = Image.FromStream(fileStream); }
}
}
Bug SPIREPDF-198 Fixes the issue that it failed to get PDF FormField.
Bug SPIREPDF-898 Fixes the issue that the merged PDF file was unable to be opened.
Bug SPIREPDF-2365 Fixes the issue that the image added on ButtonField was unable to display correctly.
Bug SPIREPDF-4259 Fixes the issue that the application threw "ArgumentException" when converting PDF to Html with multithreads.
Bug SPIREPDF-4881 Fixes the issue that the first signature was invalid when using FindText() at the same time.
Bug SPIREPDF-4918 Fixes the issue that the extracted text was incorrect.
Bug SPIREPDF-4927 Fixes the issue that the application threw "System.NullReferenceException" when printing PDF file.
Bug SPIREPDF-4929 Fixes the issue that the chinese text was lost when printing PDF file.
Bug SPIREPDF-4932 Fixes the issue that the application threw "System.FormatException" when merging PDF files.
Bug SPIREPDF-4938 Fixes the issue that the application threw "ArgumentException" when invoking "new PdfTrueTypeFont()" with multithreads.
Bug SPIREPDF-4941 Fixes the issue that the output PDF has a big size when merging the split PDF files.
Bug SPIREPDF-4946 Fixes the issue that the application threw "System.NullReferenceException”" when flattening PDF fields.
Bug SPIREPDF-4947 Fixes the issue that the application threw "System.NullReferenceException”" when converting PDF to image.
Click the link to download Spire.PDF 8.3.9:
More information of Spire.PDF new release or hotfix: