2012-06-11 44 views
2

我使用PhotoCamera選項拍攝快照。一旦圖像捕捉完成,我將VideoBrush設置爲xaml中的Canvas。但視頻觀衆比原來實際旋轉......我我不知道可能是什麼問題..如何在Windows手機中旋轉相機查看器?

我的代碼..

myCamera = new PhotoCamera(CameraType.Primary); 

myCamera.CaptureImageAvailable += new EventHandler<ContentReadyEventArgs>(CameraCaptureImageAvailable); 

VideoBrush videobrush = new VideoBrush(); 
videobrush.SetSource(myCamera); 
canvasCameraView.Background = videobrush; 

誰能幫助我?

+1

你看到http://stackoverflow.com/questions/6612562/viewfinder-orientation-with-windows-phone- 7芒果photocamera? – gbanfill

回答