Xceed PDF Library for .NET v2.0 (Build: 5.2.26166.7850)

Released: Mar 15, 2026

Aggiornamenti in v2.0 (Build: 5.2.26166.7850)

Funzionalità

  • Xceed PdfLibrary for .NET no longer depends on Xceed.Drawing.NET.dll, which is a breaking change; if Colors are needed, they should be used directly from the Xceed.PdfLibrary namespace instead of from the aforementioned Xceed.Drawing namespace.
  • In ListBoxFormField, the SelectedIndexes property is now of type array of int, which is a breaking change.
  • In PageSettings, properties are no longer settable, which is a breaking change. Instead, the Setter methods must now be used to get an updated PageSettings object.
  • In PageSettings, the FormatType property is no longer nullable, which is a breaking change. Instead, it can now use a PageFormatType.Custom value.
  • The PageSettings object is now IEquatable, which is a breaking change. Because of this, however, it can now be compared with another PageSettings object.
  • In PdfDocument, Bookmarks are now stored in the new BookmarkCollection class, which is a breaking change.
  • In Pen, the StrokeColor property is now named the Color property and the SetStrokeColor() method is now named the SetColor() method, which is a breaking change.
  • In Pen, the StrokeWidth property is now named the Thickness property and the SetStrokeWidth() method is now named the SetThickness() method, which is a breaking change.
  • In TextStyle, the FillColor property, of type Color, is now replaced by the Brush property, of type Brush, which is a breaking change.
  • In TextStyle, the StrokeColor property, of type Color, is now replaced by the Pen property, of type Pen, which is a breaking change.
  • In TextStyle, the WithFontAndColor( Font font, double fontSize, Color? fillColor = null, Color? strokeColor = null ) method is now replaced by the WithFontAndColor( Font font, double fontSize, Pen pen, Brush brush ) method, which is a breaking change.
  • In TextStyle, the SetColor( Color? fillColor, Color? strokeColor ) method is now replaced by the SetPen( Pen pen ) and SetBrush( Brush brush ) method, which is a breaking change.
  • In TextStyle, the SetFillColor( Color? value ) is now replaced by the SetBrush( Brush brush ) method, which is a breaking change.
  • In TextStyle, the SetStrokeColor( Color? value ) method is now replaced by the SetPen( Pen pen ) method, which is a breaking change.
  • PdfDocuments can now be signed & certified.
  • Images created from a stream or a path can now be inserted into a PdfDocument.
  • Bookmarks can now be added to a PdfDocument via the pdfDocument.Bookmarks.Add( new Bookmark() ) method.
  • Bookmarks can now be added under another Bookmark via the bookmark.Children.Add( new Bookmark() ) method.
  • New Pages can now be inserted at a specific index in the PageCollection.
  • The order of the Pages in the PageCollection can now be changed.
  • Attachments can now be removed or cleared from the PdfDocument.Attachments collection.
  • Bookmarks can now be removed or cleared from a PdfDocument.
  • FormFields can now be removed or cleared from a Page.
  • Hyperlinks can now be removed or cleared from a PdfDocument or a Page.
  • Pages can now be removed or cleared from the PageCollection.
  • Watermarks can now be removed or cleared from a PdfDocument or a Page.
  • A Signature can now be removed from a signed PdfDocument.
  • A new class, called SplitByBookmarkOptions, now makes it possible to use the Bookmarks found in a PdfDocument to split said document into multiple PdfDocuments.
  • A new class, called, SplitByPageOptions, now allows to split a PdfDocument into multiple documents using individual Pages or Page ranges as reference points for the splitting process.
  • A new class, called MergeOptions, can now be used to adjust the options available when merging one or more PdfDocuments into a target document.
  • A new enum, called FontEmbeddingMode, now allows to choose which font embedding mode will be used when using a TrueType font.
  • In Bookmark, four new properties have been added: IsBold, IsItalic, TitleColor and IsExpanded.
  • In PdfDocument, a new property, called AllBookmarks, can now be used to return all the Bookmarks found in the PdfDocument, no matter which Level they belong to.
  • Two new methods, ValidateSignatures() from PdfDocument and ValidateSignature() from SignatureFormField, can now be used to validate PdfDocument & FormFields signatures.
  • The EditableFormFieldCollection now contains Remove and Clear methods so that RadioButtonGroupFormField.Options can remove or clear RadioButtonFormFields.
  • In Attachment, it is now possible to set the value of the Description property.
  • In Attachment, it is now impossible to set the value of the Name property.
  • The properties of an existing Bookmark can now be modified.
  • In Bookmark, the TargetLocation property is now named TargetPageLocation.
  • In Bookmark, the TargetPage property is now nullable.
  • In BookmarkCollection, Bookmarks with the same Title are now supported.
  • The string indexer is now replaced by the FindByTitle() method, which can return all the Bookmarks with a specific Title.
  • In CheckBoxFormField, the ExportValue property is now a get/set property.
  • The ComboBoxFormField properties can now be modified.
  • The DateTimeFormField properties can now be modified.
  • The properties contained within the DocumentInformations class can now be modified.
  • In Hyperlink, the Bounds and Url properties can now be set.
  • The ListBoxFormField properties can now be modified.
  • The NumberFormFields properties can now be modified.
  • In Page Collection, the index of a Page can now be returned.
  • In PdfDocument, the Bookmarks property now returns only the Bookmarks belonging to Level 1, which is the top level for a Bookmark in a PdfDocument.
  • The PushButtonFormField’s properties can now be modified.
  • The properties from RadioButtonFormField and RadioButtonGroupFormField can now be modified.
  • The TextBoxFormField properties can now be modified.
  • Loading a PDF Document containing Watermarks will now allow to modify said Watermarks via the properties found in the Watermark class.
  • It is now possible to add text with Right to Left direction when using characters taken from an RTL language.
  • The loaded fonts are now added to the saved PdfDocument when saving it with the optimized Save option.
  • Saving a PdfDocument containing Hyperlinks no longer adds duplicate objects in the PDF’s data.
  • Saving a PdfDocument with the Optimized SaveMode now removes the unused and duplicate objects from the PDF’s data.
  • After saving a PdfDocument, used Pages can now still be modified in preparation for a new save.
  • When saving a PdfDocument, objects will never have the same object number again.
  • Using multiple filters to encode PDF data in a PdfDocument will now extract the data correctly.
  • In Page, the SetWidth, SetHeight, SetSize, SetMargins & SetOrientation methods will now correctly update their respective settings when used.
  • The Page.AddParagraph method now automatically wraps the text when it reaches the width of the Page & doesn’t contain spaces or end of lines.
  • In PdfDocument, calling multiple Save() now correctly saves the PdfDocument with the latest changes.