Skip to content
프로젝트

소개

WinForms, WPF, PDF, Metro, Mono 등 여러 프레임워크를 지원하고 UI 컨트롤, 이미지 생성, PDF 생성 등에 사용할 수 있는 C# 100% 관리 코드 기반의 고성능 HTML 렌더링 라이브러리입니다.

디자인 및 미디어

이 수치를 측정하는 방법

What you can do

  • 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.

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+5
in 1 month
+3

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

HTML Renderer

Cross framework (WinForms/WPF/WinUI/PDF/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 Standard 2.0 / .NET 10.0 or higher.

Renderer.png

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 also contain 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.
  • WinUI 3 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/WinUI 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.

관련 프로젝트 살펴보기

불러오는 중…