tags:

views:

454

answers:

1

Flash provides a simple way to print the contents. Is there a way to do the same in silverlight also

+1  A: 

Write this in Onclick handler:

      window.document.execCommand("Print");

IE will bring up a print dialog to give options for printing

If that doesn't work I found a blog posted by someone that focuses on printing in Silverlight found here here

TStamper
Is there any way I can set it to Landscape or Portrait via this method.
ThePower