monitor resolution

  • Thread starter Thread starter RickN
  • Start date Start date
R

RickN

What's the best way to determine the resolution of the
client's monitor, eg. 640x480, 800x600?

Thanks,
RickN
 
RickN said:
What's the best way to determine the resolution of the
client's monitor, eg. 640x480, 800x600?

Thanks,
RickN

System.Windows.Forms.Screen.PrimaryScreen.Bounds returns a Rectangle object
with the top/left and width/height of the primary screen.

Good luck.
 
What's the best way to determine the resolution of the
client's monitor, eg. 640x480, 800x600?

The Screen.Bounds property. Keep in mind that more and more people are
using multiple monitors these days.



Mattias
 
Back
Top