Aspose.HTML 20.11.0

.NET Standard 2.0 .NET Framework 2.0
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package Aspose.HTML -Version 20.11.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package Aspose.HTML --version 20.11.0
<PackageReference Include="Aspose.HTML" Version="20.11.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.HTML --version 20.11.0
#r "nuget: Aspose.HTML, 20.11.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.HTML as a Cake Addin
#addin nuget:?package=Aspose.HTML&version=20.11.0

// Install Aspose.HTML as a Cake Tool
#tool nuget:?package=Aspose.HTML&version=20.11.0

HTML File Manipulation .NET API

Version 20.11 Nuget

The .NET HTML API assists developers to write, read, modify, navigate and convert (X)HTML documents from within .NET applications.

Aspose.HTML for .NET API works as a headless browser that allows you to create or open existing HTML documents from various sources in order to perform manipulation operations such as remove and replace HTML nodes, save HTML documents, extract CSS from HTML, configure a document sandbox and more. You may navigate HTML documents by using various methods, such as, element traversal, document traversal, XPath queries, and CSS selector queries as well as manipulate HTML DOM via JavaScript, convert HTML file to images or fixed-layout formats, and convert (X)HTML and EPUB files to other file formats.

The classes and properties of Aspose.HTML for .NET API have similar names as that of W3C HTML specification.

HTML Processing API Features

  • Convert HTML to many popular formats including PDF, XPS and images.
  • Load & convert SVG & EPUB to XPS, PDF and images.
  • Navigate through document either by NodeIterator or TreeWalker.
  • Control the timeout of the rendering process.
  • MutationObserver to watch over DOM modifications.
  • Populate HTML document with external data (XML & JSON).
  • Support of single (PDF, XPS) or multiple (image formats) output file streams.
  • Extract CSS styling information.
  • Configuring Sandbox for the environment independent of the execution machine.

New Features & Enhancements Version 20.11

  • Major improvements made in parsing algorithms. Some of those are as follows:
    • Updated the fragment parsing algorithm according to the latest documentation.
    • Improved the attribute parsing algorithm to support more properties.
    • Updated the absolutely positioned element splitting algorithm.
    • Improved the UNC path parsing.
    • Updated the transparency processing algorithm.

Please visit Aspose.HTML for .NET 20.11 Release Notes for the detailed notes.

Read & Write Web Formats

Web: HTML, XHTML, MHTML

Save HTML As

Microsoft Word: DOC, DOCX Fixed Layout: PDF, XPS Images: TIFF, JPEG, PNG, BMP Markdown: MD

Read Formats

EPUB, SVG

Platform Independence

Aspose.HTML for .NET is written completely in C# and can be used to build any type of a 32-bit or 64-bit .NET application including ASP.NET, WCF, WinForms & .NET Core. Development platforms include all flavors of Windows, Linux, and Mac OS X x64 (10.12+).

Getting Started with Aspose.HTML for .NET

Are you ready to give Aspose.HTML for .NET a try? Simply execute Install-Package Aspose.Html from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.HTML for .NET and want to upgrade the version, please execute Update-Package Aspose.Html to get the latest version.

Convert HTML to GIT-based Markdown (MD) Format

You can execute the below code snippet to see how Aspose.HTML API performs in your environment or check the GitHub Repository for other common usage scenarios.

using (var document = new Aspose.Html.HTMLDocument("<p>my first paragraph</p>", dir))
{
    // save to Markdown using default GIT formatting model
    document.Save(dir + "Markdown.md", Saving.MarkdownSaveOptions.Git);
}

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net20 net35 net35-client net40 net40-client net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Aspose.HTML:

Package Downloads
Aspose.Total

Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.

CHOCore.Tools

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
22.8.0 2,675 8/19/2022
22.7.0 3,549 7/30/2022
22.6.0 6,089 6/28/2022
22.5.0 9,346 5/19/2022
22.4.0 5,888 4/19/2022
22.3.0 65,545 3/7/2022
22.2.0 11,773 2/11/2022
22.1.0 7,677 1/13/2022
21.12.0 7,250 12/8/2021
21.11.0 11,169 11/1/2021
21.10.0 4,155 10/9/2021
21.9.0 14,902 9/2/2021
21.8.0 31,689 8/4/2021
21.7.0 19,620 7/1/2021
21.6.0 7,341 6/9/2021
21.5.0 5,017 5/20/2021
21.4.0 16,161 5/1/2021
21.3.0 15,819 3/10/2021
21.2.0 41,877 2/4/2021
21.1.0 100,088 1/14/2021
20.12.0 11,201 12/4/2020
20.11.0 19,126 11/3/2020
20.9.0 11,645 9/30/2020
20.8.0 8,647 8/31/2020
20.7.0 6,661 7/28/2020
20.6.0 3,534 6/30/2020
20.5.0 24,140 5/20/2020
20.4.0 20,205 4/3/2020
20.3.0 85,447 3/12/2020
20.2.0 7,922 2/9/2020
20.1.0 3,550 1/14/2020
19.12.0 8,223 12/4/2019
19.11.0 5,353 11/11/2019
19.10.0 8,713 10/8/2019
19.9.0 14,796 9/6/2019
19.8.0 5,983 8/7/2019
19.7.0 5,034 7/8/2019
19.6.0 4,060 6/10/2019
19.5.0 8,667 5/9/2019
19.4.0 6,758 4/5/2019
19.3.0 25,013 3/5/2019
19.2.0 2,953 2/6/2019
19.1.0 1,669 1/9/2019
18.12.0 7,709 12/7/2018
18.11.0 6,869 11/6/2018
18.10.0 1,242 10/5/2018
18.9.0 9,073 9/5/2018
18.8.0 1,328 8/7/2018
18.7.0 1,279 7/5/2018
18.6.0 1,267 6/6/2018
18.5.0 3,556 5/2/2018
18.4.0 1,269 4/6/2018
18.3.0 11,421 3/6/2018
18.2.0 2,680 2/7/2018
18.1.0 8,974 1/11/2018
17.12.0 980 12/4/2017
17.11.0 842 11/9/2017
17.10.0 848 10/9/2017
17.9.0 960 9/8/2017
17.8.0 951 8/10/2017
17.7.0 6,034 7/14/2017