how to get screen solution number?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
as topic, how do i obtain the screen resolution of user?for example 1024*768 or 800*600...thz..
This is slightly complicated by the fact that a user can have multiple screens. The class/object you want is System.Windows.Forms.Screen. If you only care about the main screen,
Screen mainScreen = Screen.PrimaryScreen; Size dimensions = mainScreen.Bounds.Size;
If you need to support all screens, you will need to operate on the Screen array returned from Screen.AllScreens. Regards, Ray