I am converting supported file types to HTML. I have realized that the layout that it gets convert to is “Web Layout” Within MS Word you are working on a Word document and format as required you typically use it in “Print Layout”. Within MS Word you can switch to Web Layout view as well. The Web Layout view is the same view Aspose is converting it to.
Is there a way to convert files to keep the same page layout?
Can the converted file be outputted to “Print Layout”, this keeps the formatting I would suspect.
thanks
Hi Aneil,
If you want to change the layout of Word documents, you can use the code from Setting View Options to set print layout. If you want to transform the same layout to output HTML, you can export your documents to Html_Fixed format as you can see in the following code.
Document doc = new Document(@"Input.docx");
doc.Save(@"Output.html", SaveFormat.HtmlFixed);
Best Regards,