News & Releases
|
|

Spire.PDF 7.4.5 supports deleting images according to location
We are happy to announce to the release of Spire.PDF 7.4.5.This version supports deleting images according to location as well as setting export values of a Check Box Field. In addition, it also enhances the conversions from PDF to Word/Image/TIFF/Excel/PDF/A-3A and fixes the issues in the course of printing and merging PDF files. More details are given below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | SPIREPDF-972 | Supports deleting images according to location.
PdfDocument doc = new PdfDocument(input);
PdfPageBase page = doc.Pages[0];
PdfImageInfo[] images = page.ImagesInfo;
for (int i = 0; i < images.Length; i++)
{
if (images[i].Bounds.Contains(x, y))
//if (images[i].Bounds.IntersectsWith(new RectangleF(x, y, width, height)))
{
page.DeleteImage(images[i].Image);
}
}
|
| New feature | SPIREPDF-3675 | Supports setting export values of a Check Box Field.
PdfDocument pdf = new PdfDocument();
pdf.LoadFromFile(inputFile);
PdfPageBase page = pdf.Pages[0];
PdfFormWidget formWidget = pdf.Form as PdfFormWidget;
int count = 1;
foreach (PdfFieldWidget field in formWidget.FieldsWidget)
{
if (field is PdfCheckBoxWidgetFieldWidget)
{ PdfCheckBoxWidgetFieldWidget checkbox = field as PdfCheckBoxWidgetFieldWidget; checkbox.SetExportValue("True" + (count++)); }
}
pdf.SaveToFile(outputFile, FileFormat.PDF);
|
| Bug | SPIREPDF-1324 | Fixes the issue that the text overlapped after converting PDF to image. |
| Bug | SPIREPDF-1373 | Fixes the issue that it failed to add a Button Field. |
| Bug | SPIREPDF-1857 | Fixes the issue that images couldn’t be extracted. |
| Bug | SPIREPDF-2154 SPIREPDF-2966 SPIREPDF-4116 | Fixes the issue that the printout was incorrect after printing PDF. |
| Bug | SPIREPDF-2987 SPIREPDF-3729 SPIREPDF-4009 | Fixes the issue that the printout was incorrect when printing a PDF file with a transparent background image. |
| Bug | SPIREPDF-3101 | Fixes the issue that an error prompted when opening the result file after compressing PDF. |
| Bug | SPIREPDF-3273 | Fixes the issue that it couldn’t get Conformance of PDF/A-3A files. |
| Bug | SPIREPDF-4052 | Fixes the issue that the content was incorrect after converting PDF to flow Word documents. |
| Bug | SPIREPDF-4063 | Fixes the issue that an error prompted when the opening result files after converting PDF to PDF/A-3A. |
| Bug | SPIREPDF-4072 | Fixes the issue that the font of output files was changed after filling Text Box Field. |
| Bug | SPIREPDF-4083 | Fixes the issue that the extracted bookmark title was incorrect. |
| Bug | SPIREPDF-4089 | Fixes the issue that the application threw the error "Object reference not set to an instance of an object" when merging PDF files. |
| Bug | SPIREPDF-4090 | Fixes the issue that the cell was not correctly merged after converting PDF to Excel. |
| Bug | SPIREPDF-4097 | Fixes the issue that the application threw the error when extracting text. |
| Bug | SPIREPDF-4105 | Fixes the issue that the content was missing after converting PDF to TIFF. |
| Bug | SPIREPDF-4111 | Fixes the issue that the application threw the error "CryptographicException" when digitally signing a PDF document with a timestamp. |
| Bug | SPIREPDF-4114 | Fixes the issue that the application threw the error "System.StackOverflowException" when setting a background image. |
| Bug | SPIREPDF-4115 | Fixes the issue that the content was incorrect after converting PDF to image. |
| Bug | SPIREPDF-4124 | Fixes the issue that the application threw the error "System.OutOfMemoryException" when deleting images. |
| Bug | SPIREPDF-4130 | Fixes the issue that the annotation was missing after converting PDF to Word. |
| Bug | SPIREPDF-4139 | Fixes the issue that the application threw the error "Object reference not set to an instance of an object" when calling the "CreateTemplate" method. |
| Bug | SPIREPDF-4141 | Fixes the issue that the application threw the error "can not draw table, because there is no enough space for it" when drawing the table. |
| Bug | SPIREPDF-4149 | Fixes the issue that the generated PDF was incorrect after modifying the custom properties. |
| Bug | SPIREPDF-4151 | Fixes the issue that the bookmark jump position was incorrect after merging PDF files. |
| Bug | SPIREPDF-4164 | Fixes the issue that the application threw the error "System.NullReferenceException" when digitally signing a PDF document with a timestamp. |
Click the link to download Spire.PDF 7.4.5:
More information of Spire.PDF new release or hotfix: