Spire.PDF 12.6.5 enhances the conversion from XPS to PDF

Spire.PDF 12.6.5 enhances the conversion from XPS to PDF

2026-06-15 04:07:46

We are pleased to announce the release of Spire.PDF 12.6.5. In this version, several PDF Action-related class names and properties have been renamed, and the PDF Destination APIs have been refactored. In addition, issues encountered during XPS-to-PDF and PDF-to-PDF/X conversion have been resolved. Detailed updates are listed below.

Here is a list of changes made in this release

Adjustment

Old class namespace New class namespace Old property name New property name
PdfLaunchAction PdfLaunchAction IsNewWindow NewWindow
PdfActionDestination PdfPredefinedAction
PdfEmbeddedGoToAction PdfEmbeddedGoToAction IsNewWindow NewWindow
PdfResetAction PdfResetFormAction
PdfSubmitAction PdfSubmitFormAction
PdfUriAction PdfURIAction Uri URI
PdfFieldActions PdfFormFieldAdditionalActions
PdfAnnotationActions PdfAnnotationAdditionalActions MouseEnter OnEnter
MouseLeave OnExit
MouseDown OnMouseDown
MouseUp OnMouseUp
GotFocus OnReceiveFocus
LostFocus OnLostFocus
Calculate /
Validate /
KeyPressed /
Format /
PdfDocumentActions PdfDocumentAdditionalActions Calculate OnCalculate
Validate OnValidate
KeyPressed OnModifyCharacter
Format OnFormat
MouseEnter OnEnter
MouseLeave OnExit
MouseDown OnMouseDown
MouseUp OnMouseUp
GotFocus OnReceiveFocus
LostFocus OnLostFocus
Old class name
(Spire.Pdf.General namespace)
New class name
(Spire.Pdf.Destinations namespace)
Old property name New property name
PdfDestination PdfDestination,
PdfExplicitDestination
PdfDestination
(Mode=Location)
PdfXYZExplicitDestination Location Left, Top
Rectangle /
Mode Type
PdfDestination
(Mode=FitToPage)
PdfFitExplicitDestination Location /
Rectangle /
Zoom /
Mode Type
PdfDestination
(Mode=FitH)
PdfFitHExplicitDestination Location Top
Rectangle /
Zoom /
Mode Type
PdfDestination
(Mode=FitR)
PdfFitRExplicitDestination Location /
Rectangle Left,Bottom, Right, Top
Zoom /
Mode Type
PdfDestination
(Mode=FitV)
PdfFitVExplicitDestination Location Left
Rectangle /
Zoom /
Mode Type
PdfFitBExplicitDestination
PdfFitBVExplicitDestination / Left

Bug Fix

ID Description
SPIREPDF-8034 Fixed the issue where the resulting document reported an error when converting XPS to PDF.
SPIREPDF-8047 Fixed the issue where characters overlapped when converting XPS to PDF.
SPIREPDF-8057 Fixed the issue where image backgrounds turned black when converting PDF to the PdfX1A2001 standard.
SPIREPDF-8074 Fixed the issue where the program threw a "The index can not be less then zero or greater then Count" exception when merging PDF documents.
Click the link below to download Spire.PDF 12.6.5:
More information of Spire.PDF new release or hotfix: