Version History for Docotic.Pdf
Version 9.8
Aug 5th, 2025
Core library
Added support for deflate compression when converting PDF to TIFF images. Look at the new TiffImageCompressionOptions.SetDeflateCompression method.
Added support for deflate compression when saving painted images in TIFF format. Look at the new PdfPaintedImageSavingOptions.Compression property and PaintedImageTiffCompressionOptions.SetDeflateCompression method.
Added new methods to PdfGoToAction class. Check the new GetView and SetView methods.
Added new methods to PdfRemoteGoToAction class. Check the new GetView and SetView methods.
Added new methods to Pdf3dProjection class. Check the new SetOrthographic and SetPerspective methods.
Added new properties to PdfStringDrawingOptions class. Check out the AddActionAreas, Underline, Strikethrough, SynthesizeBold, and SynthesizeItalic properties.
Added new properties to PdfTextDrawingOptions class. Check out the AddActionAreas, Underline, Strikethrough, SynthesizeBold, and SynthesizeItalic properties.
Added the new FontNotFoundException class for cases when the library can not find a font with the specified parameters in the operating system or through the provided font loader.
Added new methods for creating fonts. Check out the PdfDocument.CreateFont and PdfDocument.CreateFontFromFile methods.
Added the PdfDocument.TryGetControl method to retrieve controls by name.
Added new methods for creating images. Check out the PdfDocument.CreateImage methods.
Added new methods for creating color profiles. Check out the PdfDocument.CreateColorProfile methods.
Added new methods for creating patterns. Check out the PdfDocument.CreateColoredPattern and PdfDocument.CreateUncoloredPattern methods.
Breaking change: The PdfGoToAction.View and PdfGoToAction.ViewName properties are marked as obsolete. You can get the view and its name using the new PdfGoToAction.GetView method. To set a view or its name, use one of the new PdfGoToAction.SetView methods.
Breaking change: The PdfRemoteGoToAction.View and PdfRemoteGoToAction.ViewName properties are marked as obsolete. You can get the view and its name using the new PdfRemoteGoToAction.GetView method. To set a view or its name, use one of the new PdfRemoteGoToAction.SetView methods.
Breaking change: The PdfRenditionOperation.Unspecified value is marked as obsolete. All the methods and properties now return null instead of this value.
Breaking change: There are changes to the IFontLoader interface. We added the new IFontLoader.TryLoad method and marked the IFontLoader.Load method as obsolete. The library no longer calls the IFontLoader.Load method.
Breaking change: The DirectoryFontLoader.Load, and SystemFontLoader.Load methods are marked as obsolete. Instead, use DirectoryFontLoader.TryLoad, and SystemFontLoader.TryLoad, respectively.
Breaking change: The PdfConfigurationOptions.StreamProvider property is marked as obsolete.
Breaking change: The setter for the Pdf3dProjection.Type property is marked as obsolete. Instead use the new SetOrthographic and SetPerspective methods.
Breaking change: The Pdf3dStream.Unknown value is marked as obsolete. The corresponding property now throws an exception instead of returning this value.
Breaking change: The PdfDocument.AutoCreateUriActions property is marked as obsolete. Use the PdfStringDrawingOptions.AddActionAreas and PdfTextDrawingOptions.AddActionAreas properties instead.
Breaking change: All PdfDocument.AddFont methods are marked as obsolete. Instead, use PdfDocument.CreateFont and PdfDocument.CreateFontFromFile methods. To produce underlined or strikeout text, use properties from PdfStringDrawingOptions and PdfTextDrawingOptions classes. To synthesize bold or italic text, also use properties from those classes.
Breaking change: The PdfDocument.GetControl method is marked as obsolete. Use the PdfDocument.TryGetControl method instead.
Breaking change: All PdfDocument.AddImage methods are marked as obsolete. Instead, use the PdfDocument.CreateImage methods.
Breaking change: All PdfDocument.AddColorProfile methods are marked as obsolete. Instead, use the PdfDocument.CreateColorProfile methods.
Breaking change: The PdfDocument.AddColoredPattern method is marked as obsolete. Instead, use the PdfDocument.CreateColoredPattern method.
Breaking change: The PdfDocument.AddUncoloredPattern method is marked as obsolete. Instead, use the PdfDocument.CreateUncoloredPattern method.
Breaking change: The PdfFont.Underline, PdfFont.Strikeout, PdfFont.SynthesizedBold, and PdfFont.SynthesizedItalic properties are marked as obsolete. Use properties with similar names from PdfStringDrawingOptions and PdfTextDrawingOptions classes instead.
Breaking change: All PdfImage methods that are not supported for inline images now throw PdfException exceptions instead of UnsupportedImageException exceptions.
Breaking change: The PdfPaintedImageSavingOptions.Format property is marked as obsolete. Use the PdfPaintedImageSavingOptions.Compression property instead.
Because of changes in the IFontLoader API, the library uses less memory to load fonts.
Reduced the number of bytes required for logging.
Now using fewer allocations and bytes to process bidirectional and left-to-right text.
The PdfDocument.GetImages and PdfPage.GetImages methods now return images from annotations and form controls.
The PdfPage.GetPaintedImages method now returns images from annotations and form controls.
Improved support for JPEG images with APP1 tags of unexpected structure.
Improved handling of PDFs with broken or incorrect structures.
Fixed bugs related to copying of PDF pages.
Fixed bugs related to decoding of JPEG images.
Fixed bugs related to drawing of text with embedded CIDFontType0 fonts.
Fixed bugs related to drawing of text when a font uses MacRomanEncoding.
Fixed bugs related to appending of public-key encrypted documents.
Fixed bugs related to text extraction.
Fixed renaming of controls when merging documents.
HTML to PDF add-on
- Updated to work with the current core library version.
Layout add-on
- Updated to work with the current core library version.
GDI add-on
Added new method for creating fonts. Check out the PdfDocument.CreateFont method.
Added the PdfDocument.CreateImage method.
Breaking change: The GdiFontLoader.Load method is marked as obsolete. Use the GdiFontLoader.TryLoad method instead.
Breaking change: All PdfDocument.AddFont methods are marked as obsolete. Instead, use PdfDocument.CreateFont methods. To produce underlined or strikeout text, use properties from PdfStringDrawingOptions and PdfTextDrawingOptions classes. To synthesize bold or italic text, also use properties from those classes.
Breaking change: All PdfDocument.AddImage methods are marked as obsolete. Instead, use PdfDocument.CreateImage methods. To produce masked images, create an image first and then set up its mask or mask color. Check the remarks section of any CreateImage method for more information.
The add-on uses fewer bytes for logging its actions.
Updated to work with the current core library version.
Logging add-on
- Updated to work with the current core library version.
Version 9.7
June 2nd, 2025
Core library
Added the ability to embed long term validation (LTV) information for digital signatures. The library can now embed OCSP and CRL responses to the document security store. Look at the new PdfDocument.AddLtvInfo methods.
Added the ability to create and read document timestamps. Look at the new PdfDocument.TimestampAndSave methods and PdfSignatureContents.IsDocumentTimestamp property.
Added the new Create LTV-enabled PDF signature, Add LTV information to an existing signature, Certify PDF with LTV code samples.
Added support for associated files. Look at the new PdfDocument.AssociatedFiles, PdfPage.AssociatedFiles, PdfWidget.AssociatedFiles, and PdfXObject.AssociatedFiles properties.
Added the PdfFileSpecification.Relationship property.
Added support for portable collections. This feature allows you to create PDF portfolio documents. Look at the new PdfDocument.Collection property, PdfDocument.CreateCollectionSettings method and Create PDF portfolio code sample.
Added the PdfActionArea.Description property.
Breaking change: The PdfFileSpecification.SetCustomName method is marked as obsolete. Use the PdfFileSpecification.Relationship property instead.
Breaking change: The PdfDocument.GetFonts method now returns only the fonts that are actually used in the document.
Breaking change: The PdfDocument.GetImages method now returns only the images that are actually used in the document.
Breaking change: The PdfDocument.GetColorProfiles method now returns only the color profiles that are actually used in the document.
Breaking change: The PdfDocument.GetPatterns method now returns only patterns that are actually used in the document.
PdfDocument.DocumentsAreEqual methods now ignore time-dependent information in document security store (DSS).
Improved optimization of Type 3 font structures.
Improved the code that searches for duplicate resources. Now it can find images and other objects in mask XObjects.
This version uses fewer bytes for internal representation of PDF objects.
Improved the way the library saves documents. Now fewer internal structures can get to the large object heap (LOH).
Now validating cross-reference stream size in hybrid-reference files properly.
Improved handling of PDFs with broken or incorrect structures.
The library can now embed OpenType fonts marked with the "No subsetting" flag.
Removed length restriction for PDF string objects.
Fixed bugs related to copying of PDF pages.
Fixed bugs related to drawing of text with new and existing fonts.
Fixed bugs related to text extraction.
Fixed bugs related to processing of OTF fonts with invalid table directories.
Fixed processing of RGB JPEG images with custom decode parameters.
Fixed bugs related to extraction of CMYK JPEG 2000 images.
Fixed bugs related to processing of inline images.
Fixed bugs related to processing of images with invalid masks.
Fixed bugs related to decoding of PNG images.
Fixed bugs related to processing of TIFF images.
Fixed handling of transparent grayscale TIFF images.
Fixed bugs related to decoding of PDF streams.
Fixed renaming of controls when merging documents.
HTML to PDF add-on
- Updated to work with the current core library version.
Layout add-on
- Updated to work with the current core library version.
GDI add-on
- Updated to work with the current core library version.
Logging add-on
- Updated to work with the current core library version.