Open word document in Windows Form

I would like to view the word file on windows form using .Net 2012. I have downloaded the trial demo and did not get any API to open and view the word file in .Net 2012. So could you please help me on this ASAP.

Hi there,

Thanks for your inquiry. Aspose.Words for .NET is just a class library and with it you can programmatically generate, modify, convert, render and print documents without utilizing Microsoft Word®. So, it does not offer any UI or web control to view/perform document processing tasks.

If you just want to view pages of document, you can convert all pages in your Word document to images and then display them in Windows form. Here is how you can convert pages to images:

Document doc = new Document(MyDir + @"in.docx");
ImageSaveOptions opts = new ImageSaveOptions(SaveFormat.Png);
opts.PageIndex = 0;
opts.PageCount = doc.PageCount;
opts.PageSavingCallback = new HandlePageSavingCallback();
doc.Save(MyDir + @"16.8.0.png", opts);
private class HandlePageSavingCallback : IPageSavingCallback
{
    public void PageSaving(PageSavingArgs args)
    {
        args.PageFileName = string.Format(MyDir + @"Page_{0}.png", args.PageIndex);
    }
}