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 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:
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 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,
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.