Browse our Products

Aspose.HTML for .NET 22.5 Release Notes

As per regular monthly update process of all APIs being offered by Aspose, we are honored to announce the May release of Aspose.HTML for .NET.

In this release, we have improved various parts of the parsing and rendering algorithms, here are some of them:

  • Improved handling of Combining Diacritical Marks for Symbols. This will allow you to more accurately select the font for this range of Unicode characters.
  • Improved the processing of the XPath Query.
  • Added (X)HTML to (X)HTML conversion. This will allow you to convert documents from one format to another more flexibly.
  • Improved the performance of the table treatment algorithm.
  • Improved CSS style parsing performance.

Improvements and Changes

KeySummaryCategory
HTMLNET-2377Reggresion: HTML not properly converted to PDFBug
HTMLNET-3808Reggresion: Implement the possiblility to make the timout configurable within the Configuration objectFeature
HTMLNET-1862Reggresion: Problem in Arabic Character when convert HTML to PDFBug
HTMLNET-2258Reggresion: SVG is not showing up in PDFBug

Public API and Backward Incompatible Changes

Added APIs

namespace Aspose.Html.Saving
{
    public class HTMLSaveOptions
    {
        /// <summary>
        /// The output document type will be selected automatically.
        /// </summary>
        public const byte AUTO = 0;

        /// <summary>
        /// The document will be saved as HTML.
        /// </summary>
        public const byte HTML = 1;

        /// <summary>
        /// The document will be saved as XHTML.
        /// </summary>
        public const byte XHTML = 2;

        /// <summary>
        /// Gets or sets the output document type.
        /// </summary>
        public byte DocumentType { get; set; }
    }

    /// <summary>
    /// Specifies format in which document is saved.
    /// </summary>
    public enum HTMLSaveFormat
    {
        /// <summary>
        /// The document will be saved in its original format.
        /// </summary>
        Original = 0;
    }
}

Changed APIs

namespace Aspose.Html.Saving
{
    public class ResourceHandlingOptions
    {
        //Default MaxHandlingDepth value:
        //From
        MaxHandlingDepth = 3;

        //To
        MaxHandlingDepth = 0;
    }
}

Obsolete APIs

namespace Aspose.Html.Saving
{
    public enum HTMLSaveFormat
    {
       [Obsolete("This value was replaced with 'Original', it will be removed in version 22.7.0.")]
       HTML = 0;
    }
}