Spire.PDF 7.8.8

Spire.PDF 7.8.8 supports converting PDF to OFD

We are happy to announce the release of Spire.PDF 7.8.8. This version supports converting PDF to OFD and supports adding validity check marks to digital signatures. Meanwhile, its also fixes enhances the conversions from PDF to SVG/images/PDFA1B, and from XPS to PDF. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature - Supports converting PDF to OFD.
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(PdfFile);
doc.SaveToFile(OfdFile, FileFormat.OFD
New feature SPIREPDF-1402 Supports adding validity check marks to digital signatures.
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(inputPath);
PdfCertificate cert = new PdfCertificate(pfxPath, password);
PdfOrdinarySignatureMaker signatureMaker = new PdfOrdinarySignatureMaker(doc, cert);
signatureMaker.SetAcro6Layers(false);
signatureMaker.MakeSignature("signName", doc.Pages[0], 100, 100, 120, 60);
doc.SaveToFile(outputPath);
New feature SPIREPDF-4393 PdfOrdinarySignatureMaker API supports setting signature images and signature details.
PdfDocument doc = new PdfDocument();
doc.LoadFromFile(inputPath);
PdfCertificate cert = new PdfCertificate(pfxPath, password);
PdfOrdinarySignatureMaker signatureMaker = new PdfOrdinarySignatureMaker(doc, cert);
PdfSignature signature = signatureMaker.Signature;
signature.Name = "E-iceblue";
signature.ContactInfo = "028-81705109";
signature.Location = "Chengdu";
signature.Reason = "The certificate of this document";
PdfSignatureAppearance appearance = new PdfSignatureAppearance(signature);
appearance.NameLabel = "Signer: ";
appearance.ContactInfoLabel = "ContactInfo: ";
appearance.LocationLabel = "Location: ";
appearance.ReasonLabel = "Reaseon: ";
appearance.SignatureImage = PdfImage.FromFile(imagePath);
appearance.GraphicMode = GraphicMode.SignImageAndSignDetail;
signatureMaker.MakeSignature("signName", doc.Pages[0], 100, 600, 200, 100, appearance);
doc.SaveToFile(outputPath);
Bug SPIREPDF-3326
SPIREPDF-4534
Fixes the issue that the it inserted the page in the wrong position when using the Insert method.
Bug SPIREPDF-3618 Fixes the issue that the application threw the error "System.ComponentModel.Win32Exception" when printing PDF files.
Bug SPIREPDF-4296 Fixes the issue that the content was missing after converting PDF to SVG.
Bug SPIREPDF-4341 Fixes the issue that the content was incorrect after converting PDF to images.
Bug SPIREPDF-4343 Fixes the issue that the matching item could not be found when finding text.
Bug SPIREPDF-4352 Fixes the issue that the content was incorrect after converting PDF to PDFA1B.
Bug SPIREPDF-4408 Fixes the issue that the file in the print queue was too large when printing PDF.
Bug SPIREPDF-4426 Optimizes the time of encrypting PDF files
Bug SPIREPDF-4453 Fixes the issue that some characters were not converted correctly after converting XPS to PDF.
Bug SPIREPDF-4456 Fixes the issue that the application threw the error "System.NullReferenceException" when finding text.
Bug SPIREPDF-4460 Fixes the issue that the application threw the error "Object reference not set to an instance of an object" when converting PDF to images.
Bug SPIREPDF-4483 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-4488 Fixes the issue that the attachment name was incorrect after adding the attachment.
Bug SPIREPDF-4509 Fixes the issue that there were extra pages when inserting PDF pages.
Bug SPIREPDF-4510 Fixes the issue that it got garbled characters when extracting text from PDF.
Bug SPIREPDF-4519 Fixes the issue that it took a long time to get the custom properties.
Bug SPIREPDF-4525 Fixes the issue that the extracted text was incorrect.
Bug SPIREPDF-4539 Fixes the issue that the application threw the error "System.ArgumentNullException" when merging PDF files.
Bug SPIREPDF-4540 Fixes the issue that the application threw the error "System.FormatException" when merging PDF files.
Bug SPIREPDF-4556 Fixes the issue that the application hung when inserting PDF pages.
Click the link to download Spire.PDF 7.8.8:
More information of Spire.PDF new release or hotfix: