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,
	List<RtfToHtml..::.SautinImage> arImages
)
Public Function ConvertFileToString ( _
	inputFileName As String, _
	arImages As List(Of RtfToHtml..::.SautinImage) _
) As String

Parameters

inputFileName
String
Path to Text/RTF/DOCX file, not URL
arImages
List<(Of <(RtfToHtml..::.SautinImage>)>)
Arraylist where component will place images after converting

Return Value

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

Remarks

See Also