HtmlToRtfMergeRtfFile(String, String, String) Method |
Merge two RTF files and create new single RTF document. Output file will be overwritten.
Namespace: SautinSoftAssembly: SautinSoft.HtmlToRtf (in SautinSoft.HtmlToRtf.dll) Version: 2024.12.12
Syntax public int MergeRtfFile(
string rtfFilePath1,
string rtfFilePath2,
string singleMergedRtf
)
Public Function MergeRtfFile (
rtfFilePath1 As String,
rtfFilePath2 As String,
singleMergedRtf As String
) As Integer
Parameters
- rtfFilePath1 String
- Path to 1st RTF document
- rtfFilePath2 String
- Path to 2nd RTF document
- singleMergedRtf String
- Local path to save output RTF
Return Value
Int32
0 - merged successfully
1 - can't open 1st RTF document
2 - can't open 2nd RTF document
3 - merging failed
4 - can't create output file, check the output path
Remarks A merged RTF document will contain 1st RTF document and next 2nd RTF document by order.
See Also