I have vb.net winform app that has AutoScaleMode = dpi AutoScale = false AutoSize = true
I\'ve signed off after changing DPI setting. I also tried restarting the machine
I ran into this problem and found that if you override the OnPaint(PaintEventArgs e) method of the form, and then get the Graphics object from the argument 'e' i.e. e.Graphics then the DpiX and DpiY value of this Graphics object is correct.
OnPaint(PaintEventArgs e)
e.Graphics