Table of Contents

Version History for Docotic.Pdf

Version 10.0

Dec 4th, 2026

Release summary

  • New support for removing and replacing searchable text.
  • Major API improvements across the core library, including numerous breaking changes.
  • Significant PDF-to-PDF/A conversion and PDF/A compliance improvements in the Conformance add-on.
  • Other add-ons updated for compatibility with Docotic.Pdf 10.

Core library

10.0.20889

Highlights

Version 10 adds the ability to remove and replace searchable text. Look at the new PdfContentEditor class and related code samples:

This release also introduces significant API improvements and a large number of breaking changes. Please review the migration guide before upgrading. All APIs marked as obsolete in this version will be removed in the next release.

One of the main changes is the migration away from PdfCollection<T> and PdfList<T> to strongly typed collection APIs across the library.

Version 10 brings improved APIs for:

  • PDF pages
  • XMP metadata
  • outlines (bookmarks)
  • layers (optional content)
  • combo boxes and list boxes
  • page labels
  • ink annotations

As always, this release includes bug fixes and improvements to existing features.

New types

Added new strongly typed collections and helper types:

New properties and methods

Added new properties and methods that simplify working with existing features and provide alternatives to older APIs.

Breaking changes

This release includes significant API changes. The changes affecting PdfComboBox, PdfListBox, PdfDocument, PdfOutlineItem, and PdfPage are described in dedicated subsections. Remaining breaking changes are listed under Other breaking changes. See the migration guide for details on updating existing code.

PdfComboBox and PdfListBox

The item-management APIs for comboboxes and list boxes have been updated to use PdfListItemCollection:

PdfDocument

The page management API has been redesigned around the Pages collection, which is now of type PdfPageCollection instead of PdfCollection<PdfPage>.

The following page-related methods and properties are now obsolete. Use the corresponding members of the Pages collection instead:

  • AddPage() -> Pages.Add()
  • CopyPages(int, int) -> Pages.CopyRange(int, int)
  • CopyPages(int, int, PdfConfigurationOptions) -> Pages.CopyRange(int, int, PdfConfigurationOptions)
  • CopyPages(int[]) -> Pages.Copy(int[])
  • CopyPages(PdfPage[]) has no direct replacement. Update any value-based copying logic to rely on positional access instead.
  • ExtractPages(int, int) -> Pages.ExtractRange(int, int)
  • ExtractPages(int, int, PdfConfigurationOptions) -> Pages.ExtractRange(int, int, PdfConfigurationOptions)
  • ExtractPages(int[]) -> Pages.Extract(int[])
  • ExtractPages(PdfPage[]) has no direct replacement. Update any value-based extraction logic to rely on positional access instead.
  • GetPage(int) -> Pages[int]
  • IndexOf(PdfPage) has no direct replacement. Use positional access instead.
  • InsertPage(int) -> Pages.Insert(int)
  • MovePage(int, int) -> Pages.Move(int, int)
  • MovePages(int, int, int) -> Pages.MoveRange(int, int, int)
  • MovePages(int[], int) -> Pages.Move(int[], int)
  • PageCount -> Pages.Count
  • RemovePage(int) -> Pages.RemoveAt(int)
  • RemovePage(PdfPage) has no direct replacement. Update any value-based removal logic to rely on positional access instead.
  • RemovePages(int) -> Pages.RemoveFrom(int)
  • RemovePages(int, int) -> Pages.RemoveRange(int, int)
  • RemovePages(int[]) -> Pages.RemoveAt(int[])
  • RemovePages(PdfPage[]) has no direct replacement. Update any value-based removal logic to rely on positional access instead.
  • SwapPages(int, int) -> Pages.Swap(int, int)

There are more changes in PdfDocument:

  • AssociatedFiles now returns a PdfFileSpecificationCollection instead of PdfList<PdfFileSpecification?>.

  • CreateGoToPageAction(PdfPage, double) is obsolete. Use CreateGoToPageAction(int, double) instead.

  • CreateLayer methods are obsolete. Use OptionalContent.Layers.Add instead.

  • CreateView(PdfPage) is obsolete. Use CreateView(int) instead.

  • Layers is obsolete. Use OptionalContent.Layers instead.

  • OutlineRoot is obsolete. Use the Outlines collection instead.

  • PageLabels is now of type PdfPageLabelMap instead of PdfPageLabels.

  • RemoveUnusedFontGlyphs methods now return PdfFont[] instead of PdfCollection<PdfFont>.

  • RemoveWidget(PdfWidget) is obsolete. Use PdfWidget.Remove instead.

  • SharedAttachments is now of type PdfFileSpecificationMap instead of PdfFileSpecificationCollection.

  • SharedScripts is now of type PdfJavaScriptActionMap instead of PdfJavaScriptCollection.

PdfOutlineItem

Action no longer returns a PdfGoToAction created from the outline item's associated document view. The property now returns null. Use View to access the associated document view.

Page and PageIndex are now obsolete. Use Action or View to resolve the destination page or page index. See the migration guide for replacement implementations.

The type of the Children property has changed from PdfCollection<PdfOutlineItem> to PdfOutlineItemCollection. In addition, AddChild, ChildCount, GetChild, IndexOfChild, InsertChild, RemoveAllChildren, RemoveChild, and RemoveChildAt are now obsolete. Use the Children collection instead:

  • AddChild methods -> Children.Add
  • ChildCount has no direct replacement. Avoid depending on the number of child items. If necessary, use Children.Count().
  • GetChild has no direct replacement. For index-based access, use Children.ElementAt(index) or materialize the collection using Children.ToList().
  • IndexOfChild has no direct replacement. Use the Children collection and iterate through its items as needed.
  • InsertChild methods -> Children.InsertBefore or Children.InsertAfter
  • RemoveAllChildren -> Children.Clear()
  • RemoveChild -> Children.Remove
  • RemoveChildAt has no direct replacement. Locate the child item in the Children collection and remove it using Children.Remove.
PdfPage
  • AddLinkToPage overloads that accept a PdfPage parameter are now obsolete. Use the overloads that accept a page index instead.

  • AssociatedFiles now returns a PdfFileSpecificationCollection instead of PdfList<PdfFileSpecification?>.

  • ControlCount is obsolete. Use GetControls().Count() instead.

  • Controls is obsolete. Use GetControls() instead.

  • GetChars() now returns IEnumerable<PdfTextData> instead of PdfCollection<PdfTextData>.

  • GetControl(int) is obsolete. Use GetControls() and iterate the returned controls instead of accessing controls by index.

  • GetObjects() methods now return IEnumerable<PdfPageObject> instead of PdfCollection<PdfPageObject>.

  • GetPaintedImages() now returns IEnumerable<PdfPaintedImage> instead of PdfCollection<PdfPaintedImage>.

  • GetSortedControls() is obsolete.

  • GetSortedWidgets() is obsolete.

  • GetWidget(int) is obsolete. Use Widgets[int] instead.

  • GetWords() now returns IEnumerable<PdfTextData> instead of PdfCollection<PdfTextData>.

  • GetXObject(int) is obsolete. Use the XObjects collection and iterate its items instead of accessing XObjects by index.

  • WidgetCount is obsolete. Use Widgets.Count instead.

  • XObjectCount is obsolete. Avoid depending on the number of child items. If necessary, use XObjects.Count().

  • XObjects is now of type PdfXObjectMap instead of PdfList<PdfXObject>.

Other breaking changes
  • Pdf3dStream.Views is now of type Pdf3dViewCollection instead of PdfList<Pdf3dView?>.

  • Pdf3dView.GetCameraToWorldTransformation() now returns double[]? instead of double[]. Its default value changed from an empty array to null.

  • Pdf3dView.GetU3dPath() now returns string[]? instead of string[]. Its default value changed from an empty array to null.

  • PdfActionCollection has updated behavioral contracts. Refer to the migration guide for details.

  • PdfArtifact.GetAttachmentEdges() now returns null when no edges are specified in the underlying PDF structures. Previously, the method returned an empty array.

  • PdfCanvas.GetTextData() now returns IEnumerable<PdfTextData> instead of PdfCollection<PdfTextData>.

  • PdfClipRegion.IntersectedPaths is obsolete. Use PdfClipRegion.GetIntersectedPaths() instead.

  • PdfCollection<T> is obsolete.

  • PdfControlAction was removed because it no longer serves as the base class for PdfHideAction, PdfResetFormAction, or PdfSubmitFormAction.

  • PdfDashPattern(float[]) and PdfDashPattern(float[], float) are obsolete. Use the double-based overloads instead.

  • PdfDeviceNColorSpace.Names is obsolete. Use PdfDeviceNColorSpace.GetNames() instead.

  • PdfDocumentView.Page and PageIndex are now obsolete. Use the new PdfDocumentView.GetPageIndex() to get the index of the page displayed by the view, then retrieve the page from the document's Pages collection.

  • PdfDocumentViewCollection is obsolete.

  • PdfExponentialFunction.C0, C1, Domain, and Range are obsolete. Use PdfExponentialFunction.GetC0(), GetC1(), GetDomain(), and GetRange() instead.

  • PdfFileSpecificationCollection has updated behavioral contracts. Refer to the migration guide for details.

  • PdfHideAction collection APIs have changed. Refer to the migration guide for details.

  • PdfImageFrames now implements IEnumerable<PdfImageFrame> instead of PdfCollection<PdfImageFrame>.

  • PdfInkAnnotation.PathCount, GetPath(), AddPath(), and RemovePathAt() are obsolete. Use the PdfInkAnnotation.InkList collection instead. Its Count property, indexer, Add, and RemoveAt members provide the corresponding functionality.

  • PdfJavaScriptCollection is obsolete.

  • PdfLayer.GetIntents() is obsolete. Use PdfLayer.GetIntentNames() instead.

  • PdfLayerIntent is obsolete. Avoid using this type and APIs that accept or return it. Use intent names represented as string[] when creating or configuring layers.

  • PdfList<T> is obsolete.

  • PdfMarkedContent.GetObjects() now returns IEnumerable<PdfPageObject> instead of PdfCollection<PdfPageObject>.

  • PdfPageLabelingRange is obsolete.

  • PdfPageLabels is obsolete.

  • PdfPaintedImage.Page is obsolete. Use PdfPaintedImage.PageIndex to get the page index and retrieve the page from the document's Pages collection.

  • PdfPath.Subpaths is obsolete. Use PdfPath.GetSubpaths() instead.

  • PdfPublicKeyEncryptionInfo.Recipients is obsolete. Use PdfPublicKeyEncryptionInfo.GetRecipients() instead.

  • PdfResetFormAction collection APIs have changed. Refer to the migration guide for details.

  • PdfRichMediaAnnotation.Assets is now of type PdfFileSpecificationMap instead of PdfFileSpecificationCollection.

  • PdfRichMediaAnnotation.Configurations is obsolete. Use PdfRichMediaAnnotation.GetConfigurations() instead.

  • PdfRichMediaConfiguration.Instances is obsolete. Use PdfRichMediaConfiguration.GetInstances() instead.

  • PdfSignatureFieldLock.Fields is obsolete. Use PdfSignatureFieldLock.GetFields() instead.

  • PdfSpotColor.Components is obsolete. Use PdfSpotColor.GetComponents() instead.

  • PdfStringDrawingOptions.GetCharacterWidths() now returns IEnumerable<double> instead of ICollection<double>?. The corresponding SetCharacterWidths method now accepts IEnumerable<double> instead of ICollection<double>.

  • PdfSubmitFormAction collection APIs have changed. Refer to the migration guide for details.

  • PdfSubpath.Segments is obsolete. Use PdfSubpath.GetSegments() instead.

  • PdfTextData.GetCharCodes() now returns IEnumerable<PdfCharacterCode> instead of PdfCollection<PdfCharacterCode>.

  • PdfTextData.GetCharacters() now returns IEnumerable<PdfTextData> instead of PdfCollection<PdfTextData>.

  • PdfWidget properties Left, Top, Width, and Height are now obsolete. Use BoundingBox.Left, BoundingBox.Top, BoundingBox.Width, and BoundingBox.Height to get their values. Set the BoundingBox property to change them.

  • PdfWidget.AssociatedFiles now returns a PdfFileSpecificationCollection instead of PdfList<PdfFileSpecification?>.

  • PdfWidget.Owner property is obsolete. Use PdfWidget.GetOwnerPageIndex to get the page index and retrieve the page from the document's Pages collection.

  • PdfWidgetCollection has updated behavioral contracts. Refer to the migration guide for details.

  • PdfXObject.AssociatedFiles now returns a PdfFileSpecificationCollection instead of PdfList<PdfFileSpecification?>.

  • PdfXObject.GetObjects() methods now return IEnumerable<PdfPageObject> instead of PdfCollection<PdfPageObject>.

  • SystemFontLoader.Directories is obsolete. Use SystemFontLoader.GetDirectories() instead.

  • XmpArray.Values is obsolete. Use the XmpArray members Count, the indexer, Add, RemoveAt, or Clear instead.

  • XmpMetadata.Schemas is now of type XmpSchemaCollection instead of XmpSchemaList.

  • XmpProperty is obsolete.

  • XmpPropertyList is obsolete.

  • XmpSchema.Properties is now of type XmpPropertyMap instead of XmpPropertyList.

  • XmpSchemaList is obsolete.

  • XmpString.Qualifiers is now of type XmpPropertyMap instead of XmpPropertyList.

  • XmpStructure.Properties is now of type XmpPropertyMap instead of XmpPropertyList.

  • Numerous public classes are now sealed.

Removed obsolete APIs

Removed the following methods, properties, and types, previously marked as obsolete:

  • PdfaConformance
  • PdfDocument.GetPdfaConformance
  • PdfDocument.GetPdfxConformance
  • PdfSaveOptions.ProducePdfA
  • PdfxConformance

Improvements

  • Improved synchronization of XMP metadata and Info dictionary.

  • Improved control drawing when the AcroForm NeedAppearances flag is true.

  • Improved handling of PDFs with broken or incorrect structures.

  • Improved parsing of the normal appearance streams for push button form fields.

  • Improved embedding of Type1 font files in PFA and PFB formats.

  • PdfSignatureContents.GetMessageDigest() method now returns a copy of the digest stored in the signature.

  • XmpArray now implements IEnumerable<XmpValue> and includes several new members: Count, an indexer, Add(XmpValue), RemoveAt(int), and Clear().

Bug fixes

  • Fixed issues in the PDF comparison functionality.

  • Fixed bugs related to extraction and rendering of soft mask images with matte.

  • Fixed bugs related to editing size of pages with inherited media box.

  • Fixed bugs related to drawing of documents with transparency.

  • Fixed bugs related to PdfPageObject.Layer values.

  • Fixed issues when saving document view objects.

  • Fixed an issue when adding shared views with Unicode names to documents that already contained shared views.

  • PdfDocument.RemoveUnusedResources no longer removes implicitly used DefaultGray, DefaultRGB, and DefaultCMYK color spaces.

  • Fixed a rounding issue when reading color values.

  • PdfDocumentView.SetZoom no longer throws ArgumentOutOfRangeException when the left or top coordinate of the upper-left corner is negative.

HTML to PDF add-on

10.0.20889

  • Updated to work with the current core library version.

  • Several previously inheritable public classes are now sealed.

Layout add-on

10.0.20889

  • Updated to work with the current core library version.

  • Some public classes are now sealed.

Conformance add-on

10.0.20889

  • Fixed bugs related to substitution of Type1 fonts.

  • Fixed conformance issues related to invalid XMP metadata or Info dictionary.

  • Fixed conformance issues related to PostScript XObjects and Reference XObjects.

  • Fixed conformance issues related to stream objects pointing to external files.

  • Fixed conformance issues related to inconsistent CMap streams.

  • Fixed conformance issues related to inconsistent CID-to-GID maps.

  • Fixed conformance issues related to invalid array, string, name, and number objects.

  • Fixed conformance issues related to unknown page operators.

  • Fixed conformance issues related to inline images compressed with LZW.

  • Fixed conformance issues related to Type3, CIDFontType0, and multiple master fonts.

  • Fixed conformance issues related to structure information.

  • Fixed conformance issues related to nested graphics states.

  • Fixed conformance issues related to graphics state parameters.

  • Fixed conformance issues related to inherited or missing resources.

  • Fixed conformance issues related to incorrect removal of patterns.

  • Fixed conformance issues related to invalid properties in document catalog or page dictionaries.

  • Fixed a bug in the PdfDocumentConformanceExtensions.ReadPdfaConformance method related to parsing PDF/A-4 conformance.

  • Updated to work with the current core library version.

  • A few public classes are now sealed.

GDI add-on

10.0.20889

  • Updated to work with the current core library version.

Logging add-on

10.0.20889

  • Updated to work with the current core library version.


Version 9.9

May 15th, 2026

Core library

9.9.19928

  • Added a free add-on for producing PDF/A-compliant documents. Try the BitMiracle.Docotic.Pdf.Conformance add-on.

  • Added a PDF/A group of code samples

  • Added the new CosDictionary.AddDictionary method.

  • Added the new PdfSignatureContents.GetMessageDigest method.

  • Added the new PdfWidget.Dictionary property. This property allows access to custom (application-defined) properties of the annotation.

  • The PdfDocument.CreateFont and PdfDocument.CreateFontFromFile methods now accept font data in raw CFF format, except for CIDFonts.

  • Added support for CFF fonts to DirectoryFontLoader and SystemFontLoader

  • The library no longer sets the non-standard properties XmpPdfSchema.Creator, XmpPdfSchema.CreationDate, and XmpPdfSchema.ModifiedDate when saving PDF documents.

  • The PdfDocument.SyncMetadata method now removes the non-standard properties XmpPdfSchema.Author, XmpPdfSchema.Creator, XmpPdfSchema.CreationDate, XmpPdfSchema.ModifiedDate, XmpPdfSchema.Subject, and XmpPdfSchema.Title. Since these properties are not part of the official XMP specification, their presence may cause different validation errors.

  • The library now returns PdfCustomAnnotation objects for annotation dictionaries that are missing a subtype.

  • The library now uses CFF bytes instead of PFB for Base14 fonts. This change improves compliance with the PDF/A standard and helps to produce smaller output files when Base14 fonts are embedded.

  • Breaking change: The PdfSaveOptions.ProducePdfA property is marked as obsolete. Instead, use the PdfDocumentConformanceExtensions.SaveAsPdfa methods from the new Conformance add-on.

  • Breaking change: The PdfaConformance enumeration and the PdfDocument.GetPdfaConformance method are marked as obsolete. Instead, use the PdfaConformanceLevel enumeration and the PdfDocumentConformanceExtensions.ReadPdfaConformance method from the new Conformance add-on.

  • Breaking change: The PdfxConformance enumeration and the PdfDocument.GetPdfxConformance method are marked as obsolete. Instead, use the PdfxConformanceLevel enumeration and the PdfDocumentConformanceExtensions.ReadPdfxConformance method from the new Conformance add-on.

  • Reduced memory consumption when parsing OpenType fonts.

  • Changed the merge process to use less memory, and for large documents fewer internal objects end up on the Large Object Heap (LOH).

  • Reduced the memory consumption of PdfDocument.DocumentsAreEqual methods. In addition, fewer internal objects created by these methods end up on the LOH.

  • Improved handling of PDFs with broken or incorrect structures.

  • Improved parsing of ICC profiles with incorrect offsets.

  • Improved embedding of CID fonts.

  • Improved loading of font bytes in DirectoryFontLoader and SystemFontLoader

  • PdfDocument.GetImages and PdfPage.GetImages now extract images from the control's normal icon.

  • PdfDocument.RemoveTransparencyGroups and PdfDocument.ContainsTransparencyGroups now take into account resources from Type3 fonts and form XObjects from annotation appearance streams.

  • PdfDocument.ReplaceDuplicateObjects now take into account resources from Type3 fonts.

  • Unexpected exceptions are no longer suppressed during stream decoding.

  • Fixed loading of font bytes from TTC files in DirectoryFontLoader and SystemFontLoader

  • Fixed bugs related to copying of PDF pages.

  • Fixed bugs related to drawing of PDF documents with CID fonts.

  • Fixed bugs related to drawing of text when embedded font bytes are invalid.

  • Fixed bugs related to drawing of PDF documents with annotations.

  • Fixed bugs related to drawing and flattening of text boxes, combo boxes, and list boxes.

  • Fixed bugs related to embedding of commercial OpenType fonts.

  • Fixed bugs related to extraction and rendering of soft mask images.

  • Fixed bugs related to incremental saving of documents.

  • Fixed bugs related to parsing of ICC profiles.

  • Fixed bugs related to replacing the contents of embedded files.

  • Fixed control renaming bugs when merging documents.

  • Removed the following methods, properties, and enumeration members, previously marked as obsolete: DirectoryFontLoader.Load(string, bool, bool), IFontLoader.Load(string, bool, bool), Pdf3dFileFormat.Unknown, Pdf3dProjection.Type PdfConfigurationOptions.StreamProvider, PdfDocument.AddColoredPattern(double, double), PdfDocument.AddColorProfile(byte[]), PdfDocument.AddColorProfile(Stream), PdfDocument.AddColorProfile(string), PdfDocument.AddFont(byte[]), PdfDocument.AddFont(byte[], bool, bool), PdfDocument.AddFont(byte[], bool, bool, bool, bool), PdfDocument.AddFont(PdfBuiltInFont), PdfDocument.AddFont(PdfBuiltInFont, bool, bool), PdfDocument.AddFont(Stream), PdfDocument.AddFont(Stream, bool, bool), PdfDocument.AddFont(Stream, bool, bool, bool, bool), PdfDocument.AddFont(string), PdfDocument.AddFont(string, bool, bool, bool, bool), PdfDocument.AddFontFromFile(string), PdfDocument.AddFontFromFile(string, bool, bool), PdfDocument.AddFontFromFile(string, bool, bool, bool, bool), PdfDocument.AddImage(byte[]), PdfDocument.AddImage(byte[], byte[]), PdfDocument.AddImage(byte[], PdfColor?), PdfDocument.AddImage(Stream), PdfDocument.AddImage(Stream, PdfColor), PdfDocument.AddImage(Stream, Stream), PdfDocument.AddImage(string), PdfDocument.AddImage(string, PdfColor), PdfDocument.AddImage(string, string), PdfDocument.AddUncoloredPattern(double, double, PdfColorSpace), PdfDocument.AutoCreateUriActions, PdfDocument.GetControl(string), PdfFileSpecification.SetCustomName(string, string?), PdfFont.Strikeout, PdfFont.SynthesizedBold, PdfFont.SynthesizedItalic, PdfFont.Underline, PdfGoToAction.View, PdfGoToAction.ViewName, PdfPaintedImageSavingOptions.Format, PdfRemoteGoToAction.View, PdfRemoteGoToAction.ViewName, PdfRenditionOperation.Unspecified, SystemFontLoader.Load(string, bool, bool).

HTML to PDF add-on

9.9.19928

  • Updated to work with the current core library version.

  • Updated to use Chrome 147.0.7727.57.

  • Updated the Microsoft.Bcl.AsyncInterfaces dependency to version 10.0.3.

  • Updated the System.Text.Json dependency to version 10.0.3.

  • Added a dependency on Microsoft.IO.RecyclableMemoryStream.

  • Now the add-on automatically waits for custom fonts to load before generating the PDF.

  • Removed the following property, previously marked as obsolete: PdfPageOptions.TransparentBackground.

Layout add-on

9.9.19928

  • Updated to work with the current core library version.

Conformance add-on

9.9.19928

  • Initial version.

GDI add-on

9.9.19928

  • Updated to work with the current core library version.

  • Updated the System.Drawing.Common dependency to version 10.0.8.

  • Removed the following methods, previously marked as obsolete: GdiFontLoader.Load(string, bool, bool), PdfDocument.AddFont(Font), PdfDocument.AddFont(string, FontStyle), PdfDocument.AddImage(Image), PdfDocument.AddImage(Image, Image), PdfDocument.AddImage(Image, PdfColor).

Logging add-on

9.9.19928

  • Updated to work with the current core library version.

  • Updated the Microsoft.Extensions.Logging.Abstractions dependency to version 10.0.8.



Previous releases