SetSource Method (VideoBrush, Camera)
Collapse the table of content
Expand the table of content

CameraVideoBrushExtensions.SetSource Method (VideoBrush, Camera)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Sets the VideoBrush source to the camera.

Namespace:  Microsoft.Devices
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

'Declaration
<ExtensionAttribute> _
Public Shared Sub SetSource ( _
	brush As VideoBrush, _
	camera As 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 app for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft