We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Change view before HTML conversion

Hi ,


I need to convert DOC to html . Some of my document are saved when its view is WEB layout .

How can I switch them to Print layout before conversion to HTML ?

What I need it to determine if layout is not print and change if needed .

Thanks !

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. You can use ViewOptions to change view mode in Microsoft Word. Please see the following link for more information:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.settings.viewoptions.viewtype.html

But, I am afraid this option will not have any effect if you save your document as HTML.

Best regards.

Thanks for real great and quick support