creators-update

Programmatically override the High DPI awareness

旧巷老猫 提交于 2019-12-23 00:42:33
问题 There is a new option for the End User in Windows 10 Creator's Update Edition. The End User can change properties for an EXE on the compatibility tab to "Override High DPI Scaling Behavior" and set it to System (Enhanced). I tested it and it works well for some classic win32 apps. I want to to do this by code through an API call or through the manifest. There is no information on that. Is that possible? From the comment I got, it want to clarify that this is a NEW CREATORS UPDATE FEATURE and

How do I print WebView content C# UWP Win 10

懵懂的女人 提交于 2019-11-29 15:38:14
问题 I've searched how to print a simple WebView as : <WebView x:Name="MyWebView" Source="http://www.stackoverflow.com" /> I tried many things as : How do I print WebView content in a Windows Store App? This solution is sadly not updated for Windows 10 UWP apps, but, I converted it so the obsoletes functions would work that leads me to another problem. To print, I used some classes from the sample (Windows-universal-samples/Samples/Printing/cs/) because I need the preview. I put the example given