T Tim Wilson May 11, 2006 #2 You can use the PrimaryScreen property of the Screen class to get access to the width and height. http://msdn2.microsoft.com/en-us/system.windows.forms.screen.primaryscreen.aspx
You can use the PrimaryScreen property of the Screen class to get access to the width and height. http://msdn2.microsoft.com/en-us/system.windows.forms.screen.primaryscreen.aspx
W Will Chapman May 11, 2006 #3 Evan said: Is there an API to know the size of screen? Click to expand... int width = Screen.PrimaryScreen.Bounds.Width; int height = Screen.PrimaryScreen.Bounds.Height; HTH Will Chapman
Evan said: Is there an API to know the size of screen? Click to expand... int width = Screen.PrimaryScreen.Bounds.Width; int height = Screen.PrimaryScreen.Bounds.Height; HTH Will Chapman