CameraVideoBrushExtensions.SetSource Method (VideoBrush, Object)
[ 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.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Parameters
- brush
- Type: System.Windows.Media.VideoBrush
The VideoBrush object.
- camera
- Type: System.Object
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.
Show: