Nullable types and PDF marked content in Docotic.Pdf 9.2
Updated on December 7, 2023
Docotic.Pdf 9.2 is ready. We have released the library and its add-ons on our site and on NuGet.
Starting from this version, APIs of the library and all its add-ons support nullable reference types. This is to make it obvious which entities can be null and which are not. We also updated all our sample codes to take advantage of the change.
The new version brings the ability to create, extract and copy marked content. For example, it is possible to use layers within page content streams. And you can properly edit documents that use marked content. Please check the updated Edit PDF page content sample code to see how you can do this.
In version 9.2, we further improved the library memory-wise. Now fewer object collections inside the library can get to LOH. The library now uses less time and memory to copy or extract pages to a new document. We also reduced the amount of memory used to keep track of changed objects.
We implemented some important changes to the library add-ons.
The Layout add-on required .NET 6 before, but we made it compatible with .NET Standard 2.1. Now you can use the add-on from Unity, which is stuck at the older version of .NET at the moment.
The HTML to PDF add-on now uses Chromium 119.0.6045.105. There is also a breaking change: the add-on now uses transparent background color by default.
The GDI add-on now draws documents without color blending faster.
Read about all new features and improvements in Docotic.Pdf 9.2 in the Version History document.
We encourage you to download and try the new version. This version is also available on NuGet.
Please tell us your thoughts about the new version using e-mail or the support form. Don't hesitate to write us your questions, suggest features, or ask for help.
Visit our
LinkedIn page |
Telegram channel |
Google Group