How to configure ZXing on Windows Phone Store app 8.1 camera (MediaCapture) preview size (full screen)?

My project is here :( https://github.com/79144876/ZXingStoreApp ) I will add zxing to my project with a Windows 8.1 phone. The Zxing library is here :( https://zxingnet.codeplex.com/SourceControl/latest#trunk/Clients/WindowsRTDemo/MainPage.xaml.cs ) But the preview size is not full-screen. So who knows how to resize the preview? And I have SetResolution, but still not full screen. Thanks.

+1
windows-runtime zxing
source share
1 answer

In my code, I do this

_capture.SetPreviewRotation(VideoRotation.Clockwise90Degrees); _capture.SetPreviewMirroring(true); CaptureView.Source = _capture; CaptureView.Stretch = Stretch.UniformToFill; 

In your case, replace CaptureView with VideoCapture

But for now, zxing for universal applications is working terribly. MediaCapture is not a good choice for receiving data from the camera :(

+3
source share

All Articles