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

Free Support Forum - aspose.com

Can't see aspose.words window

I add Aspose.words.dll to my project and below code. how to add Aspose.words Window on my form to see doc file’s text

//Add Aspose.Words … …

Document doc=new Document(“Doc File’s Path”);



My Problem : I can’t see aspose.words window on my form how to add it

Hello

Thanks for your inquiry. Aspose.Words is a class library for processing Word documents programmatically, it does not provide user interface for editing your documents. Of course you can create your own user interface for editing documents and use Aspose.Words in underline level, but I think it will require a lot of efforts from your end.

Best regards,

Then how can i show text to user ?

Hi,

Thanks for your request. Aspose.Words is a class library, which allows working with MS Word documents programmatically. Aspose.Words does not provide any user interface for viewing or editing documents.

However, it is possible to create Document preview, for example by converting your document to image, XPS or SWF format. Especially, SWF format is interesting, because SWF file generated by Aspose.Words already includes document viewer UI. So you need just display the generated SWF file on your web page.

Document doc = new Document("C:\\Temp\\in.docx");

doc.Save("C:\\Temp\\out.swf", SaveFormat.Swf);

Also please see the following link:

https://blog.aspose.com/2009/08/14/render-doc-ooxml-odt-rtf-and-html-documents-in-silverlight-using-components-from-aspose-and-first-floor-software

Best regards,