locked
x-ms-webview.capturePreviewToBlobAsync ISSUE

    Question

  • Am i wrong or x-ms-webview.capturePreviewToBlobAsync DOES NOT capture the webview with its transparency? All images i get have this white background. If so it's useless if you need to get the image with transparency.
    Wednesday, May 14, 2014 2:22 PM

Answers

  • Hi,

    I can reproduce your problem. When I set the x-ms-webview background to alicebluethen use the capturePreviewToBlobAsync to capture the snapshot of the x-ms-webview as a bitmap, the bitmap I get has aliceblue background. But when I set the x-ms-webview background to transparency, the bitmap I get has white background.

    And I also test the problem in windows store app with C#, the problem also occurs.
    I think that may be a bug in windows store app.

    Best Wishes!



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Thursday, May 15, 2014 7:31 AM