Aspose.HTML for .NET 20.12 Release Notes

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

In this release we have made various improvements related to splitting algorithms, here are some of them:

  • updated the SVG image validation algorithm;
  • improved flex elements splitting and rendering algorithms;
  • increased the accuracy of word wrapping;
  • improved the positioned elements splitting algorithm;
  • updated the CSS serialization algorithm according to the latest documentation;
  • improved the table border splitting algorithm.

Improvements and Changes

KeySummaryCategory
HTMLNET-2878Html to png - process hangsBug
HTMLNET-2782Crash during html to png conversionBug
HTMLNET-2821HTML to pdf crash during conversionBug
HTMLNET-2844Alt text for img tag does not completely show if SVG is 0KBBug
HTMLNET-2515Conversion from XML to HTMLBug
HTMLNET-2743Memory leak in Aspose.HTML - MHTML to TIFF/PDFBug

Public API and Backward Incompatible Changes

Added APIs

namespace Aspose.Html.Dom.Css
{
    public abstract class CSSPrimitiveValue : CSSValue
    {
        /// <summary>
        /// The value is a percentage of the full viewport width.
        /// </summary>
        public const ushort CSS_VW = 31;
        /// <summary>
        /// The value is a percentage of the full viewport height.
        /// </summary>
        public const ushort CSS_VH = 32;
        /// <summary>
        /// The value is a percentage of the viewport width or height, whichever is smaller.
        /// </summary>
        public const ushort CSS_VMIN = 33;
        /// <summary>
        /// The value is a percentage of the viewport width or height, whichever is larger.
        /// </summary>
        public const ushort CSS_VMAX = 34;
    }
}