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

Hello,

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>

<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.
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

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.

Thanks!

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.

Thanks!

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:

http://stackoverflow.com/questions/4912306/add-refrence-problem-in-silverlight

http://www.netfxharmonics.com/2008/12/Reusing-NET-Assemblies-in-Silverlight

http://biofractal.blogspot.com/2009/03/convert-dotnet-assemblies-to.html

http://stackoverflow.com/questions/6693198/how-do-i-add-a-reference-to-an-assembly-that-wasnt-built-with-the-silverlight-r

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:
https://forum.aspose.com/t/19847

Thank you.

sk092590:
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