This is a migrated thread and some comments may be shown as answers.

Need help, scan, fax, print, and edit documents and images from silverlight

1 Answer 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
cuong hoang
Top achievements
Rank 1
cuong hoang asked on 22 Oct 2009, 04:11 AM
what are the best wants to scan, fax, print, and edit documents and images from silverlight?
I could not how to implement those in silverlight. If you have any ideas, please share with me.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 23 Oct 2009, 08:10 AM

Hello cuong hoang,

Tasks such as scanning and faxing require access to local PC resources. Unfortunately the Silverlight plugin and its browser hosted nature will not allow this.

The platform lacks a printing support also . However here you have some chances. You can use the hosting browser printing support to provide some limited printing capabilities. For example  our RadGridView uses such technique to provide the PrintToHTML() functionality.

So in general implementing these in Silverlight with the current version is kind of impossible. You may use external - non Silverlight components (e.g. ActiveX ) . You can provide some communication between your SL application and these external components via the HTML bridge provided by the platform.
Still you have to thing about security as such approach would require explicitly allowing browser to access local resources.

In conclusion I  would highly recommend to use WPF instead of Silverlight  for such projects. There you have a powerful printing and text management, the whole .NET framework behind and a lots of ways to interface devices  such as fax machines, modems, scanners etc.


Sincerely yours,

Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
cuong hoang
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Share this question
or