A
active
I've been looking for a way to determine the DPI (PPI) of the screen.
I've found often the suggestion to use:
Dim height As Integer = My.Computer.Screen.Bounds.Height
Dim width As Integer = My.Computer.Screen.Bounds.Width
but that gives the total number of pixels not the DPI (which is usually 96
for pc's).
Can you tell me how to the DPIX and DPIY?
Thanks
I've found often the suggestion to use:
Dim height As Integer = My.Computer.Screen.Bounds.Height
Dim width As Integer = My.Computer.Screen.Bounds.Width
but that gives the total number of pixels not the DPI (which is usually 96
for pc's).
Can you tell me how to the DPIX and DPIY?
Thanks