How to rotate the camera viewer in Windows phone?
I use PhotoCamera option to take the snapshot. Once the Image capture is completed i set the VideoBrush to the Canvas in xaml. But the video viewer is actually rotated than the original... .I am not sure what might be the problem..
myCamera = new PhotoCamera(CameraType.Primary); myCamera.CaptureImageAvailable += new EventHandler<ContentReadyEventArgs>(CameraCaptureImageAvailable); VideoBrush videobrush = new VideoBrush(); videobrush.SetSource(myCamera); canvasCameraView.Background = videobrush;
Can anyone help me ?
I found the solution that we can achieve through CompositeTransform...