VintaSoft Imaging .NET SDK 14.0: Документация для .NET разработчика
В этом разделе
    Кодеки: Как преобразовать RTF в DOCX?
    В этом разделе
    SDK может преобразовать RTF документ в DOCX документ.

    Вот C#/VB.NET код, который показывает, как преобразовать RTF документ в DOCX документ:
    /// <summary>
    /// Converts RTF document to a DOCX document.
    /// </summary>
    public static void ConvertRtfToDocx(string rtfFilePath, string docxFilePath)
    {
        Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertRtfToDocx(rtfFilePath, docxFilePath);
    }
    
    ''' <summary>
    ''' Converts RTF file to a DOCX file.
    ''' </summary>
    Public Shared Sub ConvertRtfToDocx(rtfFilePath As String, docxFilePath As String)
        Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertRtfToDocx(rtfFilePath, docxFilePath)
    End Sub