O'Reilly logo

Silverlight 4 User Interface Cookbook by Vibor Cipan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Webcam support and printing

Silverlight 4 brings us support for microphone and webcam. Some really interesting usage scenarios are now possible with this. In this recipe, I will show you how to add and get video feed from your webcam, and after that I will guide you through how you can capture single still images and send them to your printer using the standard Print dialog.

A simple yet useful and effective scenario. So, let's get started…

Getting ready

Start your Expression Blend 4 and create a new project. Make it a Silverlight 4 project and from the Language drop-down list choose C#.

How to do it -getting started with webcam

  1. After you have created your new project, under the Objects and Timeline pane you will see UserControl and LayoutRoot. LayoutRoot ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required