Free Support Forum - aspose.com

Does Aspose Dll supports silverlight 4.0?

Hello,


It is very urgent. I have already posted on this forum but didn’t get any reply.

Can we use all Aspose dll’s like: Aspose.Cells.dll, Aspose.Word.dll ,Aspose.Pdf.dll Etc.?

Do we have silverlight version of dll available?

Please it is very urgent.

Thanks!

Hi Samir,

Thanks for your interest in Apsose APIs and sorry for the delayed response. I will answer your query from Aspose.Words perspective. Unfortunately, there is no Silverlight Version of Aspose.Words available. However, Aspose.Words supports converting to XPS format which can be easily used in Silverlight for document previewing. Please visit the following link for more details.

Best regards,

Hi Awais,

Thanks for your reply. The requirement is quite urgent.

The file Byte array will be fetched from the database and I want to render in Silverlight application as document and want to preview in Silverlight as XPS when user will click the document..

How can I achieve this?

Thanks!

Hi,


I would like to address your requirements from Aspose.Cells for .NET perspective.

Well, Aspose.Cells depends on System.Drawing and System.Data assemblies for many features, which may not included in the silverlight framework. So, you cannot directly use Aspose.Cells component on Silverlight. However, please find attached the source package for a featured Demo for Silverlight for your reference. The DataGrid/WCF featured demo for Silverlight demonstrates how you can easily load MS Excel Spreadsheet into DataGrid, you can view your desired worksheets in the grid. Moreover, you can edit/save the file (in your desired format) on your desired location on Silverlight.

The source code package (archive) contains three projects:
1. Aspose.Cells.Silverlight.DataGridDemo
The main Silverlight control of the demo.

2. Aspose.Cells.Silverlight.DataGridDemo.Web
The web site that hosts the Silverlight control and provides the WCF services.

3. Aspose.Cells.WCFLib
The common objects that used by the WCF services.

Hope, this helps to implement your requirements a bit.

Thank you.

Hi Samir,

Thanks for your inquiry.

Samir:

The file Byte array will be fetched from the database and I want to render in Silverlight application as document and want to preview in Silverlight as XPS when user will click the document…

Please also refer to the following article which outlines how to load and save a word document to database:

Best regards

Hi Samir,

Thanks for contacting support and sorry for the delayed response.

Aspose.Pdf for .NET provides the feature to create as well as manipulate existing PDF files. However, currently we do not have any specific version of Aspose.Pdf for .NET for SilverLight so as shared above, you can convert PDF file to XPS format and then display the XPS inside SilverLight. For further details, please visit Convert PDF file into XPS format