Converts Text/RTF/DOCX file to Text/HTML/XHTML string

Namespace:  SautinSoft
Assembly:  SautinSoft.RtfToHtml (in SautinSoft.RtfToHtml.dll) Version: 6.2.2.1

Syntax

      
 C#  Visual Basic 
public string ConvertFileToString(
	string inputFileName
)
Public Function ConvertFileToString ( _
	inputFileName As String _
) As String

Parameters

inputFileName
String
Path to Text/RTF/DOCX file, not URL

Return Value

string with HTML/XHTML document
null - in case of converting failed

Remarks

See Also