Aspose.PDF for .NET V25.5

Released: May 13, 2025

V25.5 での更新項目

機能

  • Added the ability to get System.Security.Cryptography.X509Certificates.X509Certificate2 for PdfFileSignature class. You can use the PdfFileSignature.TryExtractCertificate method to extract a certificate stream or a X509Certificate2 object.
  • Added functionality to create ordered lists. This technique creates lists of related items using list elements appropriate for their purposes. PDF files containing lists are normally created or repaired using a tool for authoring PDF. When markup is used to visually format items as a list but does not indicate the list relationship, users may have difficulty navigating the information. The PDF specification defines list structure in section 14.8.4.3.3 (List Elements). The structure types for lists in PDF documents are:
    • L - the List tag, which contains one or more LI tags.
    • LI - the List Item tag. List item tags can contain Lbl and LBody tags.
    • Lbl - the list item label. Contains distinguishing information such as a item number or bullet character.
    • LBody - the list item body. Contains list item content, or in the case of a nested list, it may contain additional List tag trees.
  • Added CreateListLIElement, CreateListLblElement, and CreateListLBodyElement methods to create corresponding logical structure elements.
  • You can now use an external certificate containing the public key that corresponds to the private key used to sign the document to verify the signature.
  • In some cases (e.g, in the case of a static XFA form), conversion to AcroForm may suffer from the disabled NeedsRendering flag that signals that the form isn't dynamically rendered. To convert such forms and remove the XFA form, it's recommended to use the IgnoreNeedsRendering property to count the document as dynamically rendered and to calculate element conversion properly.
  • When converting PDF to XPS, you may find that the fonts embedded in the PDF are not in a format suitable for XPS. At the same time, if a font with such a name is not found in the system, this leads to corrupted text. While you can't fix an embedded font during conversion without access to the original font file, you can now replace it. Also, avoiding the use of embedded TrueType fonts can reduce conversion time.
  • Hyperlinks are now preserved when converting from PDF to XLSX.

不具合の修正

  • Exception on converting PDF to PDF/A.
  • JPEG output image has background partially colored to green.
  • The second inline element appears shifted downward when the first inline element has only its left margin set.
  • PDF to TIFF - Watermark is missing in output.
  • API is not extracting privilege information correctly.
  • PDF document randomly gets corrupted after applying a password.
  • API is taking a long time to traverse the PDF bookmarks.
  • TextAbsorber object reference exception.
  • The table layout is incorrect after conversion to .xlsx.
  • Aspose.Pdf.Repair sometimes corrupts the output PDF.
  • Regression in CPU consumption when converting HTML to PDF.
  • Unable to convert PDF to PDF/A.
  • Conversion fails PDF to PDF/A.
  • The latest version of Aspose.PDF produces a FIPS compliance error while saving AcroForm.
  • Text disappears while converting PDF to PNG.
  • Document.Pages.Accept(TextFragmentAbsorber) throwing Exception.
  • Aspose.Pdf.Facades.PdfFileSignature.RemoveUsageRights throws System.NullReferenceException.
  • Incorrect color rendering when a PNG image is generated.
  • Missing text while rendering JPG image.
  • Render PDF to JPG is unreadable.
  • Problem inserting bookmark.
  • PDF to JPG - the text items are missing.
  • Output PDF - deleting the bookmark does not work.
  • Text disappears when using TextReplaceOptions.ReplaceAdjustment.None.
  • The TextFragment.IsolateTextSegments method shifts the isolated segments of text.
  • Incorrect path processing in certain PDF to XML scenarios on Ubuntu Linux.
  • PDF to XPS conversion performance issue.
  • Text rendered in reverse after PDF to TIFF conversion.
  • Annotations are not properly displayed.
  • Bookmarks are changed after re-saving the PDF file using Aspose.PDF.
  • Replacing text shifts text in the resultant file.
  • Text replacement leaves extra spaces.
  • PdfFileInfo returns wrong values.
  • Issue with the PdfFileInfo.IsPdfFile property.
  • SVG to PDF - Thick lines in resultant file.
  • PDF to PDF/A: Conversion creates corrupted pages in the output file.
  • Reading a line removes line breaks.
  • The user's document passes validation as PDF/UA, although Adobe Preflight does not validate it.
  • Regression: ArgumentException: "Parameter is not valid" throws on call RedactionAnnotation.Redact().
  • NullReferenceException thrown on read PdfFileInfo.IsEncrypted value.
  • PDF to PNG: Resultant image is blank.
  • PDF to JPEG: Bold text is rendered as normal text.
  • PDF to PNG: Conversion is not rendering all the document data.
  • PDF to PNG: image is wrong.
  • Exception is thrown while compressing images in PDF.
  • Exception is thrown on digital signing with CustomAppearance "Courier" font-family.