My project here:(https://github.com/79144876/ZXingStoreApp) I have add zxing on my windows phone 8.1 project.The Zxing library here:(https://zxingnet.codeplex.com/SourceControl/latest#trunk/Clients/WindowsRTDemo/MainPage.xaml.cs) But the preview size does not full screen.So,Anybody who knows how to change the preview size ? And i have SetResolution,but still not full screen. Thanks.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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 to VideoCapture
But for now zxing for universal apps work terrible. MediaCapture not good choice to get data from camera :(