Codecs: How to convert DOC to DOCX?
In This Topic
SDK can convert DOC document to a DOCX document.
Here is C#/VB.NET code that shows how to convert DOC document to a DOCX document:
/// <summary>
/// Converts DOC file to a DOCX file.
/// </summary>
public static void ConvertDocToDocx(string docFilePath, string docxFilePath)
{
Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertDocToDocx(docFilePath, docxFilePath);
}
''' <summary>
''' Converts DOC file to a DOCX file.
''' </summary>
Public Shared Sub ConvertDocToDocx(docFilePath As String, docxFilePath As String)
Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertDocToDocx(docFilePath, docxFilePath)
End Sub