Spire.PDF

Spire.PDF 5.1.0 enhances the conversion effects from XPS to PDF and PDF to Image

We are pleased to announce that Spire.PDF 5.1.0 is released today. This version adds two overloaded methods to encrypt PDF documents. Furthermore, several bugs have been fixed, such as the incorrect and text spacing are caused when converting XPS to PDF, the content was blank after converting PDF documents to images and the project threw NullReferenceException when splitting PDF file. See the content below for more details.

New Features:

  • Adds two overloaded methods for PDF encryption.
  • Method 1:

    pdf.Security.Encrypt(string openPassword);
    

    Method 2:

    pdf.Security.Encrypt(string permissionPassword, PdfPermissionsFlags permissions);
    

Bug Fixes:

  • Fixed the issue that caused incorrect text spacing when converting XPS to Pdf.
  • Fixed the issue that caused incorrect formula when converting XPS to Pdf.
  • Fixed the issue that setting the text alignment to center didn't take effect after adding multiple characters in different fonts by PdfGridCellContentList into one cell.
  • Fixed the issue that caused NullReferenceException when splitting Pdf file.
  • Fixes the issue that some data got removed after merging PDF documents.
  • Fixes the issue that the content was blank after converting PDF documents to images.
  • Fixes the issue that only the data for the first cell was correctly written after setting the alignment of the PDF grid content to "center".

Click the link to download Spire.PDF 5.1.0
More information of Spire.PDF new release or hotfix: