Browse our Products

Aspose.HTML for .NET 23.6 Release Notes

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

In this release, we have improved the support of API to transform content to and from the base64 encoding. Improved the quality of the HTML and CSS parsing and rendering.

Improvements and Changes

KeySummaryCategory
HTMLNET-4605HTML to PNG - ArgumentException : Incompatible unit types.Task
HTMLNET-4622HTML to PDF: Incorrect output fileBug
HTMLNET-3932HTML to PNG - ArgumentException : Incompatible unit types.Task
HTMLNET-4525Regression: EPUB to PDF file empty blankBug
HTMLNET-4198Accessibility check fails in resultant PDF fileFeature
HTMLNET-3887Add article in the documentationTask
HTMLNET-4515HTML to PDF: CSS is not retained upon conversionBug
HTMLNET-4218Epub to pdf converting: result pdf has incorrect layoutTask

Public API and Backward Incompatible Changes

Added APIs

namespace Aspose.Html.Window
{
    /// <summary>
    /// The window object represents a window containing a DOM document.
    /// </summary>
    public interface IWindow
	{
	    /// <summary>
        /// Takes the input data, in the form of a Unicode string containing only characters in the range U+0000 to U+00FF,
        /// each representing a binary byte with values 0x00 to 0xFF respectively, and converts it to its base64 representation, which it returns.
        /// </summary>
        /// <param name="data">The Unicode string containing only characters in the range U+0000 to U+00FF.</param>
        /// <returns>The base64 string.</returns>
        /// <exception cref="DOMException">Throws an "InvalidCharacterError" DOMException exception if the input string contains any out-of-range characters.</exception>
	    string Btoa(string data);

		/// <summary>
        /// Takes the input data, in the form of a Unicode string containing base64-encoded binary data,
        /// decodes it, and returns a string consisting of characters in the range U+0000 to U+00FF,
        /// each representing a binary byte with values 0x00 to 0xFF respectively, corresponding to that binary data.
        /// </summary>
        /// <param name="data">The Unicode string containing base64-encoded binary data</param>
        /// <returns>The string consisting of characters in the range U+0000 to U+00FF</returns>
        /// <exception cref="DOMException">Throws an "InvalidCharacterError" DOMException if the input string is not valid base64 data.</exception>
        string Atob(string data);
    }
}