Spire.PDF 7.2.0

Spire.PDF 7.2.0 supports detecting whether the PDF is encrypted

We are glad to announce the release of Spire.PDF 7.2.0. This version supports detecting whether the PDF is encrypted, supports converting PDF files to grayscale and enhances the conversions from PDF to Image/Doc/SVG. In addition, it fixes the issues occurred in the process of printing PDF. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New Feature SPIREPDF-878 Supports converting PDF file to grayscale.
PdfGrayConverter convert = new PdfGrayConverter(inputFile);
convert.ToGrayPdf(outputFile);
New Feature SPIREPDF-3110 Supports detecting whether the PDF is encrypted.
PdfDocument.IsPasswordProtected(inputFile);
New Feature SPIREPDF-3991 Supports setting the signature details in advanced properties for digital signatures.
public CustomPKCS7SignatureFormatter(X509Certificate2 certificate)
{
if (null == certificate)
{ throw new ArgumentNullException("certificate"); }
m_certificate = certificate;
Parameters.Add("Filter", "Adobe.PPKMS");
Parameters.Add("SubFilter", "adbe.pkcs7.detached");
Parameters.Add("SignatureLength", 975);
Parameters.Add("SoftwareModuleName", "Create by Spire.Pdf");
Bug SPIREPDF-328 Fixes the issue that the application threw the error "There is an error in XML document" when loading the XPS file.
Bug SPIREPDF-782 Fixes the issue that the content was incorrect after converting PDF to images.
Bug SPIREPDF-848 Fixes the issue that the the content was missing after printing the PDF.
Bug SPIREPDF-967 Fixes the issue that the border was missing after printing the PDF.
Bug SPIREPDF-1385 Fixes the issue that the text was messed up after converting PDF to Doc.
Bug SPIREPDF-1416 Fixes the issue that the application threw the error "KeyNotFoundException" when flatting form fields after merging PDF files.
Bug SPIREPDF-1977 Fixes the issue that the jumping position of the created PdfGoToAction was incorrect.
Bug SPIREPDF-3811 Fixes the issue that picture became opaque after converting PDF to SVG.
Bug SPIREPDF-3898 Fixes the issue that only the last signature was valid when digitally signing PDF multiple times.
Bug SPIREPDF-3957 Fixes the issue that the content was incorrect when setting the text alignment to justify.
Bug SPIREPDF-3969 Fixes the issue that the generated PDF was not displayed correctly when opened in Adobe.
Bug SPIREPDF-3974 Fixes the issue that the application threw the error "Document encryption is not allowed in FIPS mode" when encrypting the PDF in FIPS mode.
Bug SPIREPDF-3986 Fixes the issue that the drawn grid was incorrect.
Bug SPIREPDF-3986 Fixes the issue that the content was incorrect after adding SVG image to PDF.
Bug SPIREPDF-3993 Fixes the issue that the images were rotated after compressing PDF.
Bug SPIREPDF-3998 Fixes the issue that the application threw the error "Index was outside the bounds of the array" when printing PDF.
Bug SPIREPDF-4005 Fixes the issue that the the converted PDF/A-3B file was not recognized when opened in Foxit Reader.
Click the link to download Spire.PDF 7.2.0:
More information of Spire.PDF new release or hotfix: