VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml Namespace / OpenXmlDocumentConverter Class / ConvertHtmlToDocx Methods / ConvertHtmlToDocx(DocumentEnvironmentProperties,String,String,DocxConverterSettings) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
ConvertHtmlToDocx(DocumentEnvironmentProperties,String,String,DocxConverterSettings) Method (OpenXmlDocumentConverter)
In This Topic
Converts a HTML document to a DOCX document.
Syntax
'Declaration

Public Overloads Shared Sub ConvertHtmlToDocx( _
ByVal environmentProperties
The document environment properties.
As Vintasoft.Imaging.Codecs.Decoders.DocumentEnvironmentProperties, _
ByVal htmlFilename
The filename of input HTML document.
As System.String, _
ByVal docxFilename
The filename of output DOCX document.
As System.String, _
ByVal converterSettings
The settings for DOCX converter.
As DocxConverterSettings _
)

Parameters

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

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

See Also