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

Free Support Forum - aspose.com

Silverlight Office Documents/PDF/PPT/text files/Images/HTML Preview functionality


I am working on Silverlight components that has
requirement to preview any document.

Left hand side will show all the files in a tree view. The file can be of any type
like: Office documents, Text, HTML, Imag etc.

Right Hand side will show the preview of the
document selected in Tree view on the left hand side.

Can somebody provide me steps to use the Aspose in
Silverlight application for preview functionality?

Thanks!<?xml:namespace prefix = “o” ns = “urn:schemas-microsoft-com:office:office” /><o:p></o:p>


Hi Samir,

Thanks for your inquiry. I will answer your queries related to Aspose.Words

Aspose.Words for .NET and Document Toolkit for Silverlight together provide an easy, powerful and seamless document viewing experience in Silverlight as is demonstrated in the online demo application. Run the application and view your own Word, Open Office, RTF and HTML documents right in Silverlight.

I hope, this helps.

Best regards,

Hi Awais,

Thanks for your reply. The requirement is quite urgent.

When I have tried to add the dll found on web for Aspose in Silverlight app..it is throwing an error.. Do we have Silverlight compatiable dll?

Please provide guidance to start development.


Hi Samir,

Thanks for contacting support.

Aspose.Pdf for .NET is PDF document generation and manipulation API. However in order to display the PDF files, you may consider using ViewerApp of our sister company named GroupDocs.

Hello Nayyer,

Please let me clarify what I expect from you.

I want to use the DLL with Silverlight application.. How can I proceed with Silverlight? I want some steps to use this in Silverlight. I want to render documents as XPS or any other format like image etc.

Please provide some guidance instead of any link or URL.


Hi Samir,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

I would like to address your query from Aspose.Slides perspective.

I regret to share that Aspose.Slides doesn't support Silverlight at the moment. Actually, Silverlight applications can't reference .NET assemblies. Silverlight uses different CLR to the rest of .NET, known as the CoreCLR. The CoreCLR is a stripped down version containing only the stuff deemed necessary by the Silverlight team.

Aspose.Slides uses a lot of functionality that isn't available on Silverlight platform. Silverlight is meant to run in a "sandbox" whereby many of the unsafe features such as direct access to the file system are not allowed. Silverlight is missing core features and types such as: ArrayList, Hashtable, SortedList, System.ICloneable, System.Drawing (GDI+), BinarySerializer and the [Serializable] attribute that are used in Asposoe.Slides.

For your kind reference, please visit the following links as well:





An issue with issue id: SLIDESNET-15846 has already been created in our issue tracking system to provide the support for Silverlight. However, we cannot provide any time frame at the moment regarding the support of this feature. Once the feature gets available, we will notify you via this forum thread.

Sorry for the inconvenience,

Hi Samir,

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

Please see the reply (in the other thread) for your reference:

Thank you.

I want to use the DLL with Silverlight application… How can I proceed with Silverlight? I want some steps to use this in Silverlight. I want to render documents as XPS or any other format like image etc.

Hi Samir,

Sorry for the delayed response.

You may consider following the instructions specified by Owais for setting up Silver Light environment and visit the following links for required information on