HtmlRenderer.WinForms 1.6.1

dotnet add package HtmlRenderer.WinForms --version 1.6.1
                    
NuGet\Install-Package HtmlRenderer.WinForms -Version 1.6.1
                    
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.
<PackageReference Include="HtmlRenderer.WinForms" Version="1.6.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HtmlRenderer.WinForms" Version="1.6.1" />
                    
Directory.Packages.props
<PackageReference Include="HtmlRenderer.WinForms" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HtmlRenderer.WinForms --version 1.6.1
                    
#r "nuget: HtmlRenderer.WinForms, 1.6.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HtmlRenderer.WinForms@1.6.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HtmlRenderer.WinForms&version=1.6.1
                    
Install as a Cake Addin
#tool nuget:?package=HtmlRenderer.WinForms&version=1.6.1
                    
Install as a Cake Tool

Welcome to the HTML Renderer WinForms library!

This library provides the rich formatting power of HTML in your WinForms .NET applications using simple controls or static rendering code. For more info see HTML Renderer on GitHub: https://github.com/ArthurHub/HTML-Renderer

DEMO APPLICATION

HTML Renderer Demo application showcases HTML Renderer capabilities, use it to explore and learn on the library: https://codeplexarchive.org/ProjectTab/Wiki/HtmlRenderer/Documentation/Demo%20application

FEEDBACK / RELEASE NOTES

If you have problems, wish to report a bug, or have a suggestion, please open an issue on the HTML Renderer issue page: https://github.com/ArthurHub/HTML-Renderer/issues

For full release notes and all versions see: https://github.com/ArthurHub/HTML-Renderer/releases

QUICK START

For more Quick Start see: https://codeplexarchive.org/ProjectTab/Wiki/HtmlRenderer/Documentation/Documentation


Quick Start: Use HTML panel control on WinForms form

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();

        TheArtOfDev.HtmlRenderer.WinForms.HtmlPanel htmlPanel = new TheArtOfDev.HtmlRenderer.WinForms.HtmlPanel();
        htmlPanel.Text = "<p><h1>Hello World</h1>This is html rendered text</p>";
        htmlPanel.Dock = DockStyle.Fill;
        Controls.Add(htmlPanel);
    }
}

Quick Start: Create image from HTML snippet

class Program
{
    private static void Main(string[] args)
    {
        Image image = TheArtOfDev.HtmlRenderer.WinForms.HtmlRender.RenderToImage("<p><h1>Hello World</h1>This is html rendered text</p>");
        image.Save("image.png", ImageFormat.Png);
    }
}
Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on HtmlRenderer.WinForms:

Package Downloads
fion.modelerp.core

ModelErp

LamedalCore

This is a library of useful methods implemented on .NET Core that will give you a quick start.

Lamedal_UIWinForms

Library of enhancements to the most used .NET462 Winforms controls.

NDocUtil

NDocUtil injects and keeps up-to-date C# and console snippets in your documentation and presentations.

Paaticles.Community.IO.Printers.PrinterHelper.WinForms

Paaticles.Community.IO.Printers.PrinterHelper.WinForms

GitHub repositories (10)

Showing the top 10 popular GitHub repositories that depend on HtmlRenderer.WinForms:

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
microsoft/onnxruntime-training-examples
Examples for using ONNX Runtime for model training.
lstratman/EasyConnect
Tabbed remote desktop application with a Chrome-like UI.
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.
POPCORNBOOM/CardEditor
一款专为桌游设计师开发的批处理数值填入卡牌生成器/A card batch generator specially developed for board game designers
agentthink/modbus-studio
是一款专为自动化工程师与工控开发者打造的现代化 Modbus 主站调试与桌面轻量级组态监控工具。项目基于 .NET 8 架构开发,旨在打破传统工控调试软件界面陈旧、交互繁琐的局限,将枯燥的寄存器数据转化为可视化的交互卡片与动态趋势图,实现“即插即用、所见即所得”的工控调试体验。
Version Downloads Last Updated
1.6.1 11,098 7/29/2026
1.6.0 297 7/27/2026
1.5.2 12,743 12/22/2025
1.5.1 1,234 12/12/2025
1.5.1-beta1 35,492 11/14/2016
1.5.0.6 858,822 5/6/2015
1.5.0.5 37,957 10/9/2014
1.4.14 27,134 4/26/2014
1.4.13 8,304 3/7/2014
1.4.12 13,000 1/18/2014
1.4.11 5,088 12/20/2013
1.4.10 12,685 11/30/2013
1.4.9 4,577 11/16/2013
1.4.8.1 4,272 10/25/2013
1.4.8 4,152 10/19/2013
1.4.7 4,731 9/23/2013
1.4.6.2 4,701 9/16/2013