2012-07-29 108 views

回答

0

你的意思是這樣的嗎? windowsapps/CameraCaptureUI

+0

發佈的答案是沒有什麼比一個鏈接氣餒。如果你能以某種方式總結這篇文章,那麼改進這個答案將會有很長的路要走。 – David 2012-10-06 22:48:46

+0

你是對的,謝謝 – Brianswer 2012-10-07 02:23:48

+0

Brianswer,你沒有詳細說明鏈接,所以我不能upvote你的答案。 – 2012-10-29 22:00:58

1

您可以使用CaptureElement將攝像頭饋送集成到您的應用程序中。在XAML:

<CaptureElement x:Name="capElement" Width="400"></CaptureElement> 

在後臺代碼,你需要激活源:

MediaCapture captureMgr = new MediaCapture(); 
await captureMgr.InitializeAsync(); 

capElement.Source = captureMgr; 

await captureMgr.StartPreviewAsync(); 
相關問題