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
Post a Comment