Question about camera Medicapture

ajayden

New member
Feb 26, 2012
795
0
0
Visit site
Dear Friends,

I am developing in the corporate environment and am working on a project where we need to use the camera api. I have successfully implemented MediaCapture and have the preview on my phone screen. However, the capture doesnot show the camera preview in full screen when I rotate it to 90degrees in portrait mode.

Below is my XAML for Capture Element
<CaptureElement x:Name="capturePreview" Grid.Row="1" Stretch="UniformToFill" Height="{Binding ActualHeight, ElementName=Row2}" Width="{Binding ActualWidth, ElementName=Col1}"/>

The MediaCapture is centered on the screen and fills row1 height but not the width.

Anyone can help me with suggestion?
 

Members online

Forum statistics

Threads
326,661
Messages
2,248,722
Members
428,535
Latest member
cotton-vegan-afoot