问题
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