Posted on: 4/23/2014 5:11:22 AM | Views : 370

Hello everyone, I have this code:
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Using ms = New MemoryStream() Dim Html As String = vbCr & vbLf & "<h1>h1</h1>" & vbCr & vbLf & "<p class=""bo"">A paragraph</p> " & vbCr & vbLf & "<ul> " & vbCr & vbLf & "<li>one</li> " & vbCr & vbLf & "<li>two</li> " & vbCr & vbLf & "<li>three</li> " & vbCr & vbLf & "</ul>" Dim styles As New StyleSheet() styles.LoadStyle("bo", "size", "10") styles.LoadTagStyle(HtmlTags.H1, HtmlTags.FONT, "59") styles.LoadTagStyle(HtmlTags.H1, HtmlTags.COLOR, "#ff0000") ...

Go to the complete details ...