Spire.PDF 3.9.421 makes some adjustments in PdfSecurity

Spire.Spire.PDF

We're pleased to announce that Spire.PDF Hotfix Version 3.9.421 is released today. This version makes some adjustments in PdfSecurity class and also fixes the issue that caused "Insufficient data for an image" error when repeatedly loading document to insert image and save it. More details are as follows.

Bug Fixes:

  • Fixes the issue that caused "Insufficient data for an image" error when repeatedly loading document to insert image and save it.

Adjustments:

  • Obsoletes the set property of PdfSecurity.Permissions and PdfSecurity.KeySize.
  • Obsoletes PdfSecurity.OwnerPassword, PdfSecurity.UserPassword property.
  • Obsoletes PdfSecurity.ResetPermissions and PdfSecurity.SetPermissions method, and use PdfSecurity.Encrypt method instead.

Get the most recent version of Spire.PDF 3.9.421 here:
More information of Spire.PDF new release or hotfix: