Click here to Skip to main content
Click here to Skip to main content
Articles » Multimedia » GDI+ » Applications » Downloads
 
Add your own
alternative version

A Professional HTML Renderer You Will Use

, 29 Jan 2009 BSD
100% managed code that draws HTML on any device
HtmlDemo.002.zip
System.Drawing.Html.dll
Html Demo.exe
HtmlDemo.zip
System.Drawing.Html.dll
Html Demo.exe
System.Drawing.Html.002.zip
System.Drawing.Html
Html Demo
bin
Debug
Html Demo.exe
Html Demo.vshost.exe
HtmlDemo.zip
System.Drawing.Html.dll
Html Demo.csproj.user
Properties
Settings.settings
Resources
comment16.gif
delete16.gif
delete32.gif
exclamation32.png
favorites32.png
font32.png
formula32.png
image32.png
method16.gif
paly32.png
property16.gif
property32.png
refreshdocument32.png
web_pallete.gif
Window.gif
Samples
System.Drawing.Html.suo
System.Drawing.Html
bin
Debug
System.Drawing.Html.dll
System.Drawing.Html.vshost.exe
Properties
Settings.settings
System.Drawing.Html.zip
Html Demo.exe
Html Demo.vshost.exe
System.Drawing.Html.dll
Html Demo.csproj.user
Settings.settings
comment16.gif
delete16.gif
delete32.gif
exclamation32.png
favorites32.png
font32.png
formula32.png
image32.png
method16.gif
paly32.png
property16.gif
property32.png
refreshdocument32.png
web_pallete.gif
Window.gif
System.Drawing.Html.suo
System.Drawing.Html.dll
System.Drawing.Html.vshost.exe
Settings.settings
<html>
<head>
<link rel="Stylesheet" href="property:Html_Demo.Bridge.StyleSheet" />
</head>
<body bgcolor=black style="background-gradient:#666;margin:0" color=#333>
<h1 align=center color=white>HTML Renderer Project<span style=font-size:xx-small;white-space:pre>
Release 1.0.0.0</span> </h1>
<blockquote class=whitehole>
<p>Everything you see on this panel is hand-painted by the HTML Renderer. Now you can have the rich format power of HTML on you desktop applications without calling the WebBrowser control and affecting their performance. The library has <b>100% managed code</b>.</p>
<p>The core layout engine of the renderer was builded according to CSS Level 2 specification, so you can use Cascading Style Sheets to format your html documents.</p>
<p>There's <b>no big nor small</b> job for the renderer. It's quite fast for small fragments like in the <code>HtmlLabel</code> but there's no problem for entire documents like this.</p>
<h3>It comes in useful presentations:</h3>
<ul>
<li>This control where you are reading is an <code>HtmlPanel</code></li>
<li>For simple support for HTML on screen you can use an <code>HtmlLabel</code></li>
<li>For amazing ToolTips you can use <code>HtmlToolTip</code></li>
</ul>
    <p>Check the <a href="method:Html_Demo.Bridge.ShowSampleForm">Sample Form</a> to learn more about this three controls</p>
<h3>Some extra-standard features</h3>
There are a couple of things added to the renderer: <b>Gradients</b> on backgrounds and <b>rounded corners</b>.
See the samples on the left to learn more.
<hr />
<h3>Things to do</h3>
Of course it's not quite finished yet. Here are some of the important things to do.
<ul>
<li>Support of <code>visibility</code> CSS property</li>
<li>Support of <code>position</code> CSS property</li>
<li>Support of <code>height</code> CSS property</li>
<li>Paged media support (for printing)</li>
<li>Better error handling</li>
<li>Better drawing performance</li>
<li>Better document parsing performance</li>
<li>Better CSS selectors parsing</li>
<li>Better HTML tag parsing (optional closing tags)</li>
<li>HTML entities support (I know, it's easy)</li>
<li>Make text selectable (E.g. To copy, drag and dop) </li>
</ul>
<h3>Donate</h3>
Projects like this are keeped up thanks to your donations. <span class=tip>You can donate thru <a href="http://www.menendezpoo.com/donations.php">my website</a>.</span>
</blockquote>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License

Share

About the Author

Jose Menendez Póo
Team Leader
Mexico Mexico
I'm in game programming now: https://itunes.apple.com/us/app/ugly-aliens-training-center/id859271884?ls=1&mt=8
 
Jose Manuel Menéndez Poó
 
- I've been programming Windows and Web apps since 1997.
- My greatest concern nowadays is user interface usability.
 
Questions and stuff by twitter: @menendezpoo
 
Blog
menendezpoo.com

| Advertise | Privacy | Mobile
Web02 | 2.8.141015.1 | Last Updated 30 Jan 2009
Article Copyright 2009 by Jose Menendez Póo
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid