VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml Namespace / OpenXmlDocumentConverter Class / ConvertDocxToHtml Methods / ConvertDocxToHtml(String,String,HtmlConverterSettings) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    ConvertDocxToHtml(String,String,HtmlConverterSettings) Method (OpenXmlDocumentConverter)
    In This Topic
    Converts a DOCX document to a HTML document.
    Syntax
    'Declaration
    
    Public Overloads Shared Sub ConvertDocxToHtml( _
    ByVal docxFilename
    The filename of input DOCX document.
    As System.String, _
    ByVal htmlFilename
    The filename of output HTML document.
    As System.String, _
    ByVal converterSettings
    The settings for DOCX converter.
    As HtmlConverterSettings _
    )
    public static void ConvertDocxToHtml(
    System.String docxFilename,
    System.String htmlFilename,
    HtmlConverterSettings converterSettings
    )
    public: static void ConvertDocxToHtml(
    System.String docxFilename,
    System.String htmlFilename,
    HtmlConverterSettings* converterSettings
    )
    public:
    static void ConvertDocxToHtml(
    System.String docxFilename,
    System.String htmlFilename,
    HtmlConverterSettings^ converterSettings
    )

    Parameters

    docxFilename
    The filename of input DOCX document.
    htmlFilename
    The filename of output HTML document.
    converterSettings
    The settings for DOCX converter.
    Exceptions
    ExceptionDescription
    Thrown if docxFilename or htmlFilename is null.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also