Thanks for your interest in Aspose.Words.
Yes. You can easily convert a Microsoft Word document to HTML or PDF by using Aspose.Words for .NET and the following code.
Document doc = new Document("D:\\temp\\in.docx");
With Aspose.Words API you can programmatically generate, modify, convert, render and print documents without utilizing Microsoft Word® (see documentation). However, Aspose.Words does not offer UI, editor or web control for performing these document processing tasks.
Our sister company GroupDocs.com offers viewer app which you may consider including in your application to view the various file formats. With GroupDocs apps, you can also have limited editing functionalities. For more information, we suggest you please contact GroupDocs support through support forums of GroupDocs.
Moreover, if you just want to view pages in web browser, you can convert all pages in your Word document to images and then display them. Here is how you can convert pages to images:
Document document = new Document(@"D:\temp\In.docx");
ImageSaveOptions options = new ImageSaveOptions(SaveFormat.Jpeg);
options.PageCount = 1;
// Save each page of the document as Jpeg.
for (int i = 0; i < document.PageCount; i++)
options.PageIndex = i;
document.Save(@"D:\temp\out_" + i + ".jpg", options);
Please let us know if we can be of any further assistance.