Aspose.PDF for .NET V26.7

Released: Jul 14, 2026

V26.7 中的更新

特性

  • Side-by-Side PDF Comparison Results
    • Enhanced 'SideBySidePdfComparer' by returning comparison results from both document and page comparison methods. The 'Compare' methods now return 'SideBySideDocsComparisonResult' or 'SideBySidePagesComparisonResult', allowing you to determine whether differences were found using 'HasChanges' and inspect detailed changes through 'FirstDocChanges', 'SecondDocChanges', and 'FullChanges'.
    • The comparison methods also include overloads that write the visual comparison result to a 'Stream' rather than to a file path.
    • The return type of the existing 'Compare' overloads that accept an output file path has changed from 'void' to SideBySideDocsComparisonResult. This is a public API change; applications compiled against earlier releases should be recompiled when upgrading to version 26.7.
  • Safe Digital Signature Verification
    • Added 'TryVerifySignature' methods to 'PdfFileSignature' and 'TryVerify' methods to 'Signature'. These methods avoid throwing exceptions during signature verification and instead return a 'VerificationResult' that reports the verification state, a message, whether the signature structure is compromised, and the original verification exception, when available.
    • 'TryVerifySignature' returns 'true' when verification completes without a technical error. In that case, check 'VerificationResult'.State to distinguish between valid and invalid signatures. It returns 'false' when verification encounters a technical error or when the signature structure appears compromised.
  • Optional OCR and PDF Chunking Dependencies
    • Aspose.OCR and the dependencies used by PDF chunking are now optional. The core Aspose.PDF package no longer requires these packages when you do not use the related functionality. Install Aspose.OCR only for OCR scenarios. To use PDF chunking, add Microsoft.Extensions.DataIngestion, Microsoft.Extensions.DataIngestion.Markdig, and Microsoft.ML.Tokenizers.Data.Cl100kBase to your project.
    • When PDF chunking is called without its required optional dependencies, Aspose.PDF throws MissingOptionalDependencyException with details about the missing package.

修補程式

  • PDF to PNG consumes high memory.
  • Bookmark display issue in Adobe Acrobat browser extension after Aspose.PDF 25.2 update.
  • PDF to XPS conversion throws NullReferenceException during Document.Save().
  • Saving document raises XmlException.
  • HTML to PDF content is overlapped.
  • PDF to HTML highlighted text hides in the output HTML.
  • PDF to XPS throws ArgumentOutOfRangeException.
  • RadioButtonOptionField overload with Rectangle throws NullReferenceException.
  • Converting PDF to HTML produces transparent images.
  • Side-by-side comparison throws IndexOutOfRangeException.
  • HTML to PDF ignores table width.
  • System.FormatException is thrown when verifying a PDF signature.
  • Setting a form field type to read-only and standard has issues.
  • PDF/A conversion does not validate Unicode font mapping.
  • Unable to add SVG to a PDF document.
  • Changing a form type to standard has issues.
  • Comparing a document to itself throws ArgumentOutOfRangeException.
  • PDF document is not saved as PDF 1.4.
  • PDF to TIFF conversion throws an exception.
  • PDF to XLS output is corrupted and unreadable.
  • PDF to PDF/A conversion hangs.
  • PDF/A validation produces incorrect results.
  • PDF to SVG does not save embedded fonts.
  • HTML to PDF moves the second table or section to a new page.
  • PDF to TIFF has font rendering issues.
  • XFA to standard form conversion is incorrect.
  • Concatenating an Adobe-signed PDF throws NullReferenceException.
  • Merging documents throws an exception.
  • PDF to PDF/A conversion overlaps text in the output.
  • PDF to DOCX conversion renders text incorrectly.
  • PDF to PNG does not preserve embedded fonts.
  • PDF/A conversion produces an invalid UTF-8 BaseFont.
  • PDF to TIFF renders the second page with an overlapping front-page overlay.
  • TextBoxField drops the final character from a value.
  • PDF to DOC conversion takes too much time.
  • Image to PDF conversion flips the image vertically.
  • PDF to DOCX conversion changes the font name.
  • Unable to concatenate PDF files.
  • SVG to PDF does not display an image inside a table cell.
  • PDF to PDF/A Validate() method returns incorrect results.
  • SVG to PDF does not honor opacity.
  • PDF to PDF/A conversion loses document colors.
  • LaTeX to PDF sections and subsections have incorrect numbering.