Aspose.PDF for C++ 21.11 Release Notes

Changes and Improvements

  • This version of Aspose.PDF for C++ has a codebase of Aspose.PDF for .Net 21.11.

  • The array operations performance has been improved.

  • Regressions connected with AdobeFontMetrics have been fixed.

  • The parsing and reading of TrueType Fonts have been sped up.

Future Backward Incompatible API Changes

  1. The new implementation of the classes that belong to the System.Xml namespace will be based on the ported code of CoreFx 2.0 instead of using libxml2. The classes that belong to the System.Xml.Serialization, System.Xml.Xsl.IlGen, System.Xml.Xsl.QIL, System.Xml.Xsl.Runtime, and System.Xml.Xsl.Xslt namespaces will be removed. The XslCompiledTransform class will use XslTransform. The async calls won’t be supported.

  2. The get_Current method of the IEnumerable class and its inheritors will return a value by reference instead of returning by value when a collection stores reference types or strings. It is advisable everywhere when impossible to use C++ iterators (such as iterating over IList or any other interface). Using references instead of copying gives a good performance profit (up to 4x times faster).

  3. The performance of methods of the classes that belong to System::IO will be improved. Methods of Stream, TextWriter, and their inheritors classes will accept arguments by const reference instead of copying pointers. Possibly, the C#-code of a class-inheritor method is needs to be changed when the passed argument is changed inside it.

  4. The new IEnumerable-level iterators and iterators for collections with duck typing will be added. The virtual native STL iterators are used where it is possible. New iterators are copiable, have full list of operators, work faster, and allow changing a container’s element. But not all implementations provide all operators. E.g. the features of a one-direction iterator are available when Enumerator is used. An iterator dereferencement return type will be changed to reference.

Complete details of API can be referenced from Aspose.PDF for C++ API Reference Guide.