You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

HtmlRenderer.WinForms

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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. * Supports .NET 2.0 or higher including Client Profile. * Lightweight, only two DLLs (~300K). * High performance and low memory footprint. * Extendable and configurable.

1.5.1-beta1
nugetNuGet
Version published
Maintainers
1
Created
Source

********** 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 CodePlex: http://htmlrenderer.codeplex.com

********** DEMO APPLICATION ***********************************************************************

HTML Renderer Demo application showcases HTML Renderer capabilities, use it to explore and learn on the library: http://htmlrenderer.codeplex.com/wikipage?title=Demo%20application

********** FEEDBACK / RELEASE NOTES ***************************************************************

If you have problems, wish to report a bug, or have a suggestion please start a thread on HTML Renderer discussions page: http://htmlrenderer.codeplex.com/discussions

For full release notes and all versions see: http://htmlrenderer.codeplex.com/releases

********** QUICK START ****************************************************************************

For more Quick Start see: https://htmlrenderer.codeplex.com/wikipage?title=Quick%20start

********** 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("

Hello World

This is html rendered text

"); image.Save("image.png", ImageFormat.Png); } }

Keywords

html

FAQs

Package last updated on 14 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts