更新时间:2023-02-02 14:28:43
您可以参考以下链接来处理相机方向。
http://www.mindscapehq.com/blog/index.php/2012/02/ 28 / windows-phone-7-working-with-camera-tasks /
如果这没有用,那么你可以根据自己的要求编写自己的代码。以下链接应该可以帮助您入门。
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202956(v = vs.105).aspx
I want to use only frontface camera and camera must not rotate.
Can u share with me any example code ?
Beray Benteşen
You can refer following link to handle Camera orientation.
http://www.mindscapehq.com/blog/index.php/2012/02/28/windows-phone-7-working-with-camera-tasks/
If this doesn't help then you can write your own code as per your requirement. Following link should help you get started.
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202956(v=vs.105).aspx