Browse our Products

Aspose.HTML for .NET 25.7 Release Notes

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

Release Notes

This release significantly improves PDF conversion stability by resolving critical NullReferenceExceptions and font recognition failures. Additionally, it introduces the PageSetup.ScaleLimit property for granular control over document scaling during rendering. It also optimizes memory consumption across rendering operations for enhanced performance and efficiency, particularly with large or complex documents.

Package references
Aspose.HTML for .NET 25.7.0 NuGet
Aspose.HTML.Drawing for .NET 25.7.0 NuGet
Aspose.HTML for Python via .NET 25.7.0 PyPI

Improvements and Changes

KeySummaryCategory
HTMLNET-6510MHTML input results in unreadable PDF output.Enhancement
HTMLNET-6096When trying to save a file as pdf we get a NullReferenceException.Bug
HTMLNET-6334Fails when recognize the installed Helvetica Neue LT Std font and throws a NullReferenceException.Bug
HTMLNET-6446System.NullReferenceException: Object reference not set to an instance of an object.Bug
HTMLNET-4616Unable to convert a web-page content to pdf - System.ArgumentException: Incompatible unit typesBug
HTMLNET-6193HTML to PDF conversion memory leakInvestigation
HTMLNET-5860HTML to PDF: Memory is not release after converisonBug

Public API and Backward Incompatible Changes

Added APIs

namespace Aspose.Html.Rendering
{
    /// <summary>
    /// Represents a page setup object is used for configuration output page-set.
    /// </summary>
    public class PageSetup
    {
		/// <summary>
		/// A value between 0 and 1 specifies the limit to which the document content is scaled relative to the original size.
		/// The default value is 0.
		/// The default value in Chrome is approximately 0.7 (i.e. the scaled content size cannot be less than 70% of the original size).
		/// </summary>
		public float ScaleLimit { get; set;}
		
    }
}