Aspose.HTML for .NET 20.8 Release Notes

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

In this release, we have made a number of improvements related to the SVG elements and tables rendering. These include:

  • Improved text splitting algorithm
  • Updated pattern paint server algorithm as per the latest documentation
  • Increased performance of the nested elements rendering
  • Improved fixed table layout algorithm

Improvements and Changes

KeySummaryCategory
HTMLNET-2748Exception during svg to pdf conversionBug
HTMLNET-2751MHT to PNG do not render symbolsBug
HTMLNET-2636Converting HTML to PDF with multi-column CSS doesn’t work as expectedBug
HTMLNET-2753Nested DIV Tags slow Conversion SignificantlyBug
HTMLNET-1708Problem rendering multi column HTML to PDFBug

Public API and Backward Incompatible Changes

Added APIs

namespace Aspose.Html.Dom.Svg.Filters
{
    public class SVGFEBlendElement : SVGElement, ISVGFilterPrimitiveStandardAttributes
    {
        /// <summary>
        /// Corresponds to value 'overlay'.
        /// </summary>
        public const ushort SVG_FEBLEND_MODE_OVERLAY = 6;

        /// <summary>
        /// Corresponds to value 'color_dodge'.
        /// </summary>
        public const ushort SVG_FEBLEND_MODE_COLOR_DODGE = 7;

        /// <summary>
        /// Corresponds to value 'color_burn'.
        /// </summary>
        public const ushort SVG_FEBLEND_MODE_COLOR_BURN = 8;

        /// <summary>
        /// Corresponds to value 'hard_light'.
        /// </summary>
        public const ushort SVG_FEBLEND_MODE_HARD_LIGHT = 9;

        /// <summary>
        /// Corresponds to value 'soft_light'.
        /// </summary>
        public const ushort SVG_FEBLEND_MODE_SOFT_LIGHT = 10;

        /// <summary>
        /// Corresponds to value 'difference'.
        /// </summary>
        public const ushort SVG_FEBLEND_MODE_DIFFERENCE = 11;

        /// <summary>
        /// Corresponds to value 'exclusion'.
        /// </summary>
        public const ushort SVG_FEBLEND_MODE_EXCLUSION = 12;

        /// <summary>
        /// Corresponds to value 'hue'.
        /// </summary>
        public const ushort SVG_FEBLEND_MODE_HUE = 13;

        /// <summary>
        /// Corresponds to value 'saturation'.
        /// </summary>
        public const ushort SVG_FEBLEND_MODE_SATURATION = 14;

        /// <summary>
        /// Corresponds to value 'color'.
        /// </summary>
        public const ushort SVG_FEBLEND_MODE_COLOR = 15;

        /// <summary>
        /// Corresponds to value 'luminosity'.
        /// </summary>
        public const ushort SVG_FEBLEND_MODE_LUMINOSITY = 16;
    }
}

Changed APIs

namespace Aspose.Html
{
    public class HTMLException : Exception
    {
    }
}

has been renamed to:

namespace Aspose.Html
{
    public class PlatformException : Exception
    {
    }
}

Obsolete APIs

namespace Aspose.Html
{
    public class License
    {
        /// <summary>
        /// License number was added as embedded resource.
        /// </summary>
        [Obsolete("Setting of this property is no longer needed in order to use embedded license.")]
        public bool Embedded { get; set; }
    }
}