I am writing an application that generates graphs. I need to set the bar size according to the size of screen (in pixels)
How can I get the total screen size in pixels using vb.net code?
I am writing an application that generates graphs. I need to set the bar
Share
You can use:
or:
Alternatively you can look at
Screen.WorkingAreawhich gives you the dimensions of the working area (that excludes docked windows, toolbars etc.)