public static string ConvertDocxToHtml(byte[] binaryData)
{
DocxFormatProvider docxProvider = new DocxFormatProvider();
RadFlowDocument flowDoc = docxProvider.Import(binaryData);
HtmlFormatProvider htmlProvider = new HtmlFormatProvider();
string result = htmlProvider.Export(flowDoc);
return result;
}
{
DocxFormatProvider docxProvider = new DocxFormatProvider();
RadFlowDocument flowDoc = docxProvider.Import(binaryData);
HtmlFormatProvider htmlProvider = new HtmlFormatProvider();
string result = htmlProvider.Export(flowDoc);
return result;
}
No comments:
Post a Comment