Converts Text/RTF string to Text/HTML/XHTML file. Output file will be overwritten.

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

Syntax

      
 C#  Visual Basic 
public int ConvertStringToFile(
	string inputString,
	string outputFileName
)
Public Function ConvertStringToFile ( _
	inputString As String, _
	outputFileName As String _
) As Integer

Parameters

inputString
String
Any string in RTF format
outputFileName
String
Path to output file

Return Value

0 - converting succesfully
2 - can't create output file, check the output path
3 - converting failed

Remarks

See Also