You are here: Home
Computer
Software
Is there an inexpensive library which can convert RTF reports in HTML?!
Is there an inexpensive library which can convert RTF reports in HTML?!
Developers from SautinSoft have prepared for us working project for our requirements:
FOR IMMEDIATE RELEASE
(Free-Press-Release.com) October 6, 2011 --
We’ve Crystal Reports which we are using to convert RTF files into HTML and send to our customers via emails! The matter is that with using this library we get bad-formatted HTMLs!
Because of many complaints from clients, we decide to choose SautinSoft’s RTF to HTML library. Developers from SautinSoft have prepared for us working project for our requirements:
Sample for VB.Net: How to convert RTF file в HTML and send to email:
Dim r As SautinSoft.RtfToHtml = New SautinSoft.RtfToHtml()
r.OutputFormat = SautinSoft.RtfToHtml.eOutputFormat.XHTML_10
r.Encoding = SautinSoft.RtfToHtml.eEncoding.UTF_8
'specify image options
r.ImageStyle.ImageFolder = "C:Demo" 'this folder must exist
r.ImageStyle.ImageSubFolder = "PendingAttachments" 'this folder will be created by the component
r.ImageStyle.ImageFileName = "image" 'template name for images
r.ImageStyle.IncludeImageInHtml = False 'false - save images on HDD, true - save images inside HTML
Dim BaseImage As String = String.Format("{0}/{1}/{2}", r.ImageStyle.ImageFolder, r.ImageStyle.ImageSubFolder,
r.ImageStyle.ImageFileName)
Dim htmlString As String = String.Empty
Dim arListWithImages As New System.Collections.ArrayList()
htmlString = r.ConvertString(RichTextBox1.Rtf, arListWithImages)
More details about sending HTML emails located here: http://blog.sautinsoft.com/?p=5
.Net C convert how html to email rtf html rtf to html rtf2html
Where: Taipei,Taiwan (China)
Industry: Computer Hardware & Software

Where: Taipei,Taiwan (China)
Industry: Computer Hardware & Software
Where: Los Angeles,States
Industry: Computer Hardware & Software
Post your news to the World.See you news here immediately. It's easy and free!
Create free account or Login.


