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

Free Support Forum - aspose.com

Functionality questions - document viewer and WPF

Hello.


I have a requirement to view office documents in a WPF application for my client.
I need to view Word and Outlook .msg files. I also need to list any attachments to the Outlook files and extract them in order to view them. I want the viewer control to have some limited functionality … zooming in and out and text search being important and thumbnail generation of a given page as a bonus feature.
I also have a deadline to meet so cannot spend time ‘trying stuff out’ - I really need to get it right first time and then move on so all guidance is appreciated.

I do not need to edit documents within the app. but if it comes ‘for free’ I’ll make use of it.

Questions

1. Do Apose have controls that will do this for me?
2. Will these controls work properly in WPF (including scaling) or will I have to wrap Forms-controls in a WindowsFormsHost?
3. Can you point me to a quick code example of viewing a Word document in c#? (WPF or Forms)

The application will be deployed within an organisation to about 100 users. What sort of license will I require? I am a lone developer working under contract to the organisation.

If my client decides to commercialise the product will the license requirements change?

Will this same license allow me to develop products for other clients?

Thanks for your time,

Keith

Hi,


Thanks for your inquiry. I am representative of Aspose.Words team.

First of all, please note that Aspose.Words is a class library for working with Word documents programmatically. It provides programmatic access through a rich API to all document elements and formatting that allows to create, modify, extract, copy, split, join, and replace document content without using Microsoft Word.

Secondly, it does not offer any UI or
graphic user interface for editing/viewing documents. However, with Aspose.Words, it is possible to create Document preview, for example by converting your document to image, XPS or SWF format. For example, try to run one of Aspose.Words demos and select XPS or SWF as a target format:
http://www.aspose.com/demos/.net-components/aspose.words/csharp/general/dinner-invitation.aspx
In addition, SWF produced by Aspose.Words also includes document viewer UI. So you need simply embed this SWF into your application.

Moreover, regarding your licensing related questions, please try posting in our Aspose.Purchase forum below:
http://www.aspose.com/community/forums/aspose.purchase/220/showforum.aspx

If we can help you with anything else, please feel free to ask.

Best Regards,

Hello Awais and thank you for your reply.


I have no doubt your libraries are excellent however I have found a control that directly renders docx along with html and rtf without the need for an intermediary conversion and I have chosen that route.

(I was originally using Office COM to convert to xps in order to view docx)

Thanks again for your time,

Keith


Hi Keith,


Thanks for the additional information. It’s great you were able to find what you were looking for. Please let us know any time you have any further queries regarding Aspose products.

Best Regards,