Creating print output


show more Creating print output provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training show less
please wait ...

Creating print output

It's hard to imagine creating a business application that doesn't work with printers. You can now capture any part of your Silverlight XAML tree and send it to the printer. Of course, you need to show the Print dialog to your users for permission before you can complete the print job. There are three major ways to print from a Silverlight application. The first is to use the browser host window. That is very easy, and I'll show you how to do that in one minute. The second is a little more complicated. If you're running an elevated trust application, you can use COM Interop to talk to Microsoft Word.

Of course Microsoft Word is a very full- featured document editor, so you can use its API to create table of contents, headers and footers, any other sophisticated content you want, and then have COM send that to the printer. And lastly, you can use the PrintDocument class inside Silverlight. Let me show you how to use the browser. I'm going to switch over to Visual Studio, a...

Creating print output
Video duration: 6m 38s 8h 52m Beginner

Viewers:

Creating print output provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training

Subject:
Developer
Software:
Silverlight Visual Studio
Author:
please wait ...