-
Notifications
You must be signed in to change notification settings - Fork 531
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ArthurHub
committed
Jan 19, 2014
1 parent
eb8ae7a
commit 93f3402
Showing
2 changed files
with
68 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
|
||
********** Welcome to the HTML Renderer WinForms library! ***************************************** | ||
|
||
This library provides the rich formatting power of HTML in your .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(); | ||
|
||
HtmlRenderer.HtmlPanel htmlPanel = new HtmlRenderer.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 = HtmlRenderer.HtmlRender.RenderToImage("<p><h1>Hello World</h1>This is html rendered text</p>"); | ||
image.Save("image.png", ImageFormat.Png); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<html> | ||
<body> | ||
<div dir="rtl"> | ||
<div>שלום עולם, יש ברבורים בעגם הזה</div> | ||
<br /> | ||
<div>שלום עולם, יש ברבורים בעגם הזה</div> | ||
<div>שלום עולם, יש ברבורים בעגם הזה</div> | ||
</div> | ||
<hr/> | ||
<div dir="rtl"> | ||
<div>שלום עולם,<span>hello world</span> יש ברבורים בעגם הזה</div> | ||
<br /> | ||
<div>שלום עולם, יש ברבורים בעגם הזה</div> | ||
<div>שלום עולם, יש ברבורים בעגם הזה</div> | ||
</div> | ||
<hr/> | ||
</body> | ||
</html> | ||
<html> | ||
<body> | ||
<div dir="rtl"> | ||
<div>שלום עולם, יש ברבורים בעגם הזה</div> | ||
<br /> | ||
<div>שלום עולם, יש ברבורים בעגם הזה</div> | ||
<div>שלום עולם, יש ברבורים בעגם הזה</div> | ||
</div> | ||
<hr/> | ||
<div dir="rtl"> | ||
<div>שלום עולם,<span>hello world</span> יש ברבורים בעגם הזה</div> | ||
<br /> | ||
<div>שלום עולם, יש ברבורים בעגם הזה</div> | ||
<div>שלום עולם, יש ברבורים בעגם הזה</div> | ||
</div> | ||
<hr/> | ||
</body> | ||
</html> |