[UWP] Is there no UWP WebView API for printing formatted content?

teknofunk 21 Reputation points

Microsoft wants us to build apps for the Microsoft Store, and provides lot of great tools to do so. That being said, why is such an obvious use case still ignored? Other major app platforms have an API available, and Edge browser does have a print function that even pays attention to CSS media queries for formatting and pagination. Using a WebViewBrush in UWP to create an screenshot of the screen-formatted content does not make the situation much better. I would assume that the reasons are not related to any platform limitation. Perhaps there is a reason related to security? Does anyone have any information about this?

Universal Windows Platform (UWP)
{count} votes

Accepted answer
  1. Fay Wang - MSFT 5,201 Reputation points


    Welcome to our Microsoft Q&A platform!

    I searched the UWP document about this and found UWP does not have such API that can directly print the WebView. The current approach is still to use the WebViewBrush. But if you have an idea about printing the WebView, you can go to Feedback Hub(Start menu-> Feedback Hub) to submit your feature request.

0 additional answers

Sort by: Most helpful