Follow on Google News News By Tag Industry News News By Place Country(s) Industry News
Follow on Google News | Converting RTF to HTML under Windows AzureArticle from our customer Hi All! Our company has a corporate server which works under Windows Azure. This document management system has many advantages, but one of the functions of document management failed to realize a long time!
By: Yana The SautinSoft helped us to include online converter of RTF strings from database to HTML strings. Next we’ve used a free solution to edit these HTMLs. This is part of code in C# to convert RTF string to HTML string: SautinSoft.RtfToHtml r = new SautinSoft.RtfToHtml(); r.OutputFormat = SautinSoft.RtfToHtml.eOutputFormat.HTML_ r.ImageStyle.IncludeImageInHtml = false; r.ImageStyle.ImageFolder = Server.MapPath(""); r.ImageStyle.ImageSubFolder = "images"; r.ImageStyle.ImageFileName = "picture"; string rtf = "....."; //Get RTF from database string html = r.ConvertString( //show HTML if (html.Length>0) { Response.Buffer = true; Response.Clear(); Response.ContentType = "text/html"; Response.Write( Response.Flush(); Response.End(); } # # # SautinSoft is the independent software development company. The line of our software applications was started in 2002 (web-site www.sautin.com) End
Account Email Address Account Phone Number Disclaimer Report Abuse
|
|