c# - Is there a way to prevent from Windows AutoScale my forms? -


one of forms takes screenshot of desktop , uses form background drawing on it. when windows setting "desktop/screen resolution/make text , other items larger or smaller" greater 100% screen.bounds smaller image.size. background image bigger form. streching screenshot image couses blurring. solution proper size screenshot? preventing windows autoscaling form or way of screenshot?

        sendkeys.sendwait("{prtsc}");         image img= clipboard.getimage();         this.backgroundimage = img;          debug.print("img.size=" + img.size.tostring());         debug.print("screen.size=" + screen.primaryscreen.bounds); 


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -