问题描述
您好,
我正在为客户开发一个UWP应用程序。此应用程序使用webview,我必须从中打印文档,包括来自GMAIL和PDF的附件。
I am developing a UWP application for a client. This application uses a webview from which I have to print documents, including attachments from GMAIL and PDFs.
我注意到这样的功能在UWP网页浏览量。
I noticed that such a feature was not available on the UWP webviews.
所以我想知道:
So I would like to know:
- 此功能是否计划在将来的版本中使用?您对发布日期有任何了解吗?
- 使用当前的框架,Microsoft建议实现此类用例的建议是什么
祝你好运,
保罗
推荐答案
>>此功能是否计划在将来的版本中使用?你对发布日期有什么看法吗?
我没有与此分享的信息。我建议您可以在
中提交功能请求。
I have no information to share with this. I suggest that you could submit a feature request in theUser Voice.
>>使用当前的框架,Microsoft建议实现这样一个用例是什么。
目前,你可以尝试使用
WebViewBrush 从WebView创建画笔。然后将其填充到类似矩形的控件中并打印矩形。
Currently, you could try to use theWebViewBrush to create a brush from the WebView. Then fill it in a control like rectangle and print the rectangle.
祝你好运,
Roy
这篇关于[UWP]从UWP Webview打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!