This topic has not yet been rated - Rate this topic

CameraVideoBrushExtensions.SetSource Method

Windows Phone

March 22, 2012

Sets the VideoBrush source to the camera.

Namespace:  Microsoft.Devices
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public static void SetSource(
	this VideoBrush brush,
	Camera camera
)

Parameters

brush
Type: System.Windows.Media.VideoBrush
The VideoBrush object.
camera
Type: Microsoft.Devices.Camera
Sets the VideoBrush source to the camera

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type VideoBrush. When you use instance method syntax to call this method, omit the first parameter.

For more information about how to implement this member, see How to: Create a Base Camera Application for Windows Phone.

Windows Phone OS

Supported in: 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)