Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arthurhub/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.
https://github.com/arthurhub/html-renderer
Last synced: about 1 month ago
JSON representation
Cross framework (WinForms/WPF/PDF/Metro/Mono/etc.), Multipurpose (UI Controls / Image generation / PDF generation / etc.), 100% managed (C#), High performance HTML Rendering library.
- Host: GitHub
- URL: https://github.com/arthurhub/html-renderer
- Owner: ArthurHub
- License: bsd-3-clause
- Created: 2013-09-16T08:39:04.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-03-13T11:31:23.000Z (8 months ago)
- Last Synced: 2024-10-15T11:40:17.128Z (about 1 month ago)
- Language: C#
- Homepage: https://htmlrenderer.codeplex.com/
- Size: 8.01 MB
- Stars: 1,261
- Watchers: 101
- Forks: 527
- Open Issues: 141
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
HTML Renderer [![Build status](https://ci.appveyor.com/api/projects/status/cm8xpf8ebt3hyi3e)](https://ci.appveyor.com/project/ArthurHub/html-renderer)
=============## Help Wanted
* Looking for a contributor(s) to take this project forward as I'm unable to continue supporting it.
* Contribute directly to the repository and update nuget packages.#### Documentation, Discussion and Issue tracking is on [CodePlex](https://htmlrenderer.codeplex.com/).
**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 2.0 or higher**.
#### [Download](https://htmlrenderer.codeplex.com/releases/) the [Demo application](https://htmlrenderer.codeplex.com/wikipage?title=Demo%20application&referringTitle=Home) to explore HTML Renderer capabilities.
![Renderer.png](https://raw.githubusercontent.com/ArthurHub/HTML-Renderer/master/Art/demo_winforms.png)
### 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.
* Supports .NET 2.0 or higher including Client Profile.
* Lightweight, just two DLLs (~300K).
* High performance and low memory footprint.
* Extendable and configurable.
* Powerful [Demo application](https://htmlrenderer.codeplex.com/wikipage?title=Demo%20application&referringTitle=Home) 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](https://htmlrenderer.codeplex.com/wikipage?title=Image%20generation&referringTitle=Home).
* Create PDF document from HTML code snippets.### NuGet packages
* [HtmlRenderer.WinForms](https://www.nuget.org/packages/HtmlRenderer.WinForms)
* [HtmlRenderer.WPF](https://www.nuget.org/packages/HtmlRenderer.WPF)
* [HtmlRenderer.Mono](https://www.nuget.org/packages/HtmlRenderer.Mono)
* [HtmlRenderer.PdfSharp](https://www.nuget.org/packages/HtmlRenderer.PdfSharp)
* [HtmlRenderer.Core](https://www.nuget.org/packages/HtmlRenderer.Core)#### HTML Renderer on my blog
[TheArtOfDev / HTML Renderer](http://theartofdev.com/html-renderer/)