Spire.PDF 12.1.6 supports getting and setting the PDF 2.0 version

Spire.PDF 12.1.6 supports getting and setting the PDF 2.0 version

2026-01-22 07:28:20

We're pleased to announce the release of Spire.PDF 12.1.6. This version supports getting and setting the PDF 2.0 version. Meanwhile, some issues that occurred when converting PDF to images or PDF/A, replacing text, loading XPS files and extracting text have also been successfully fixed. More details are listed below.

Here is a list of changes made in this release

Category ID Description
New feature SPIREPDF-5365 Supports getting and setting the PDF 2.0 version.
// Retrieve
PdfFileInfo info = doc.FileInfo;
PdfVersion version = info.Version;

// Settings
doc.FileInfo.Version = PdfVersion.Version2_0;
Bug SPIREPDF-6905 Fixes the issue where text color was rendered incorrectly when converting PDF to images.
Bug SPIREPDF-7866 Fixes the issue where memory was not properly released during text replacement.
Bug SPIREPDF-7875 Fixes the issue where QR codes were missing after converting PDF to PDF/A or images.
Bug SPIREPDF-7884 Fixes the issue where an ArgumentOutOfRangeException was thrown when loading XPS files.
Bug SPIREPDF-7892 Fixes the issue where text extraction failed under certain conditions.
Click the link below to download Spire.PDF 12.1.6: