HtmlRenderer.Core
1.5.2
dotnet add package HtmlRenderer.Core --version 1.5.2
NuGet\Install-Package HtmlRenderer.Core -Version 1.5.2
<PackageReference Include="HtmlRenderer.Core" Version="1.5.2" />
<PackageVersion Include="HtmlRenderer.Core" Version="1.5.2" />
<PackageReference Include="HtmlRenderer.Core" />
paket add HtmlRenderer.Core --version 1.5.2
#r "nuget: HtmlRenderer.Core, 1.5.2"
#:package HtmlRenderer.Core@1.5.2
#addin nuget:?package=HtmlRenderer.Core&version=1.5.2
#tool nuget:?package=HtmlRenderer.Core&version=1.5.2
HTML Renderer
Cross framework (WinForms/WPF/PDF/Metro/Mono/etc.), Multipurpose (UI Controls / Image generation / PDF generation / etc.), 100% managed (C#), High performance HTML Rendering library.
The library is 100% managed C# code without any external dependencies (no WebBrowser control, ActiveX / COM or MSHTML dll), the only requirement is .NET Framework 4.6.2 or higher.

Issues & Documentation
For questions and issues, use the official GitHub repository.
For documentation, check out the project on the CodePlex Archive or the personal blog.
Download
The release packages on GitHub or the CodePlex Archive also contains a Demo application to explore HML Renderer's capabilities.
The latest NuGet packages can be found on NuGet.org:
Features and Benefits
- Extensive HTML 4.01 and CSS level 2 specifications support.
- Support separating CSS from HTML by loading stylesheet code separately.
- Support text selection, copy-paste and context menu.
- WinForms controls: HtmlPanel, HtmlLabel and HtmlToolTip.
- WPF controls: HtmlPanel and HtmlLabel.
- Works on Mono.
- Create images/PDFs from HTML snippets.
- Handles "real world" malformed HTML, it doesn't have to be XHTML.
- 100% managed code and no external dependencies.
- Lightweight, just two DLLs (~300K).
- High performance and low memory footprint.
- Extendable and configurable.
- Powerful Demo application to explore and learn the library.
WinForms/WPF controls
- HtmlPanel - The full power of HTML control build to replace WebBrowser control, accepts HTML, text selection, scrollbars, link click intercept, image load intercept and much more.
- HtmlLabel - As WinForms label but accepts HTML, text selection, auto-size capabilities, transparent background and more.
- HtmlToolTip - As WinForms ToolTip control but accepts HTML and ability to handle links (WinForms only).
Sample application's
- Render HTML content generated by rich web editors like forums, blogs, etc.
- Render Office documents converted to HTML.
- Create WinForms UI that requires text selection with clipboard support.
- Create images from HTML code snippets.
- Create PDF document from HTML code snippets.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- System.Resources.Extensions (>= 10.0.0)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on HtmlRenderer.Core:
| Package | Downloads |
|---|---|
|
HtmlRenderer.PdfSharp
PDF document generator from HTML snippet, 100% managed (C#), High performance library using PdfSharp. Features and Benefits: --- * 100% managed code depends only on PdfSharp library, no ActiveX, no MSHTML. * Extensive HTML 4.01 and CSS level 2 specifications support. * Support separating CSS from HTML by loading stylesheet code separately. * Handles "real world" malformed HTML, it doesn't have to be XHTML. * Lightweight, only two DLLs (~300K). * High performance and low memory footprint. * Extendable and configurable. |
|
|
HtmlRenderer.WinForms
Multipurpose (UI Controls / Image generation), 100% managed (C#), High performance HTML Rendering library for WinForms. HTML UI in .NET WinForms applications using controls or static rendering. Features and Benefits: --- * Controls: HtmlPanel, HtmlLabel, HtmlToolTip. * Create images from HTML snippets. * 100% managed code and no external dependencies, no ActiveX, no MSHTML. * Extensive HTML 4.01 and CSS level 2 specifications support. * Support separating CSS from HTML by loading stylesheet code separately. * Support text selection, copy-paste and context menu. * Handles "real world" malformed HTML, it doesn't have to be XHTML. * Lightweight, only two DLLs (~300K). * High performance and low memory footprint. * Extendable and configurable. |
|
|
HtmlRenderer.WPF
Multipurpose (UI Controls / Image generation), 100% managed (C#), High performance HTML Rendering library for WPF. HTML UI in .NET WPF applications using controls or static rendering. Features and Benefits: --- * Controls: HtmlPanel, HtmlLabel. * Create images from HTML snippets. * 100% managed code and no external dependencies, no ActiveX, no MSHTML. * Extensive HTML 4.01 and CSS level 2 specifications support. * Support separating CSS from HTML by loading stylesheet code separately. * Support text selection, copy-paste and context menu. * Handles "real world" malformed HTML, it doesn't have to be XHTML. * Supports .NET 3.0 or higher including Client Profile. * Lightweight, only two DLLs (~300K). * High performance and low memory footprint. * Extendable and configurable. |
|
|
fion.modelerp.core
ModelErp |
|
|
HtmlRenderer.Mono
Multipurpose (UI Controls / Image generation), 100% managed (C#), High performance HTML Rendering library for Mono. HTML UI in .NET Mono applications using controls or static rendering. Features and Benefits: --- * Controls: HtmlPanel, HtmlLabel, HtmlToolTip. * Create images from HTML snippets. * 100% managed code and no external dependencies, no ActiveX, no MSHTML. * Extensive HTML 4.01 and CSS level 2 specifications support. * Support separating CSS from HTML by loading stylesheet code separately. * Support text selection, copy-paste and context menu. * Handles "real world" malformed HTML, it doesn't have to be XHTML. * Supports .NET 2.0 or higher including Client Profile. * Lightweight, only two DLLs (~300K). * High performance and low memory footprint. * Extendable and configurable. |
GitHub repositories (11)
Showing the top 11 popular GitHub repositories that depend on HtmlRenderer.Core:
| Repository | Stars |
|---|---|
|
accord-net/framework
Machine learning, computer vision, statistics and general scientific computing for .NET
|
|
|
nea/MarkdownViewerPlusPlus
A Notepad++ Plugin to view a Markdown file rendered on-the-fly
|
|
|
maximmax42/Discord-CustomRP
Simple custom Rich Presence manager (Playing status) for Discord. Only supports Windows 7 and above. Features running on startup and minimizing to tray. Translated to multiple languages.
|
|
|
chummer5a/chummer5a
Character generator for Shadowrun 5th edition
|
|
|
vers-one/EpubReader
.NET library for reading EPUB files
|
|
|
darklinkpower/PlayniteExtensionsCollection
Collection of extensions made for Playnite.
|
|
|
microsoft/onnxruntime-training-examples
Examples for using ONNX Runtime for model training.
|
|
|
cyotek/Cyotek.Windows.Forms.ImageBox
The ImageBox is a custom control for displaying images. It supports zooming, scrolling, panning, region selection and much more!
|
|
|
cyotek/Cyotek.Windows.Forms.ColorPicker
Color picker control suite for Windows Forms applications.
|
|
|
QL-Win/QuickLook.Plugin.EpubViewer
QuickLook EPUB plugin.
|
|
|
POPCORNBOOM/CardEditor
一款专为桌游设计师开发的批处理数值填入卡牌生成器/A card batch generator specially developed for board game designers
|