How to resolve the Blurness issue in print Preview of UWP?

微笑、不失礼 提交于 2019-12-26 01:04:52

问题


I am familiar with the data grid in the UWP plat form. we tried to provide the support for printing the results in sheets. we have faced the hurdles while we print the content. In the print preview panel the content looks like blurry to the view, but in the printed sheet the contents look like normal. could your share your ideas to resolve this.

Thanks in advance for your updates.


回答1:


It seems it is by design. In UWP, we use the PrintManager to inform Windows that an application wishes to participate in printing.

When we run the ShowPrintUIAsync() method, it will run the "PrintDialog.exe" that the print Preview page will be shown.

We can use the "Inspect" to test the content of the print Preview page. From the following image, we can see the content is a Image control that render by the XAML.

For the performance, it does not render as clear as the printting result. We can not change that. If you do want this feature, you are welcome to ask on UserVoice.



来源:https://stackoverflow.com/questions/42019080/how-to-resolve-the-blurness-issue-in-print-preview-of-uwp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!