I have a document with 3 pages, whereof I want to make a new Aspose document and save it in html (xml) format. I tried to execute this process with the latest Aspose Words dll, but it was unsuccessfully, because the saving process is never finished.
I tried to use this code (the document is attached in the zip)vuw2w.zip (25.3 KB)
var inputFilePath = “vuw2w.docx”;
Preformatted textHtmlSaveOptions options = new HtmlSaveOptions(SaveFormat.Html);
options.ExportHeadersFootersMode = ExportHeadersFootersMode.FirstSectionHeaderLastSectionFooter;
Document doc = new Aspose.Words.Document(inputFilePath);
Please, verify this problem