Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.HTML for .NET 22.1

Download  Support Forum 

File Details

  • Downloads:
  • 12
  • File Size:
  • 18.5 MB
  • Posted By:
  • pavel.petrushechkin
  • Views:
  • 33
  • Date Added:
  • 1/13/2022

File Details

Improved Conversion to MHTML Format

By the addition of the binary to text “quoted-printable” encoding (or QP encoding) support then document conversion to MHTML format has been improved. The following API sample code demonstrates how to convert HTML to MHTML using C# code:

// For complete examples and data files, please go to https://github.com/aspose-html/Aspose.HTML-for-.NET
// The path to the documents directory
string dataDir = RunExamples.GetDataDir_Data();
// Source HTML Document 
HTMLDocument htmlDocument = new HTMLDocument(dataDir + "input.html");
// Initialize MHTMLSaveOptions
MHTMLSaveOptions options = new MHTMLSaveOptions();
// Set the resource handling rules
options.ResourceHandlingOptions.MaxHandlingDepth = 1;
// Output file path 
string outputPDF = dataDir + "HTMLtoMHTML_Output.mht";
// Convert HTML to MHTML
Converter.ConvertHTML(htmlDocument, options, outputPDF);

Accurate SVG Filter Size Calculation

Increased the accuracy of SVG filter size calculation.

Compliant CSS and HTML Parsing Algorithms

Updated the CSS and HTML parsing algorithms as per the latest documentation.

Better Handling of Non Breaking Spaces in Converted PDF

Previously in some instances the non breaking spaces were being converted to invalid characters in output PDF. Now this issue has been resolved.

For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.HTML for .NET 22.1 Release Notes.

 English