- oneIt depends on what environment you work and why you need it. - Vitaly Zaslavsky
- oneI want to confirm the assumption that the browser window is larger than the width of the screen. A related question here: [hashcode] [1] [1] hashcode.ru/questions/73690/… - komka
- oneIf the browser window is js - Vitaly Zaslavsky
- 3as an option, you can just try on a ruler - Gorets
- one@vital_viza, the question arose just because I measured the width through js and it turned out to be not what I expected. The question on the link is just about that. - komka
|
1 answer
If the language is not fundamental, then:
- You can get the screen size, for example, through the
Screen.PrimaryScreen.Boundsproperties (C #, there are analogues in C ++, VB, F #); or a similar method
Screen.GetBounds()(C #, is similar in C ++, etc.).To get the size of the browser window, you can take the property WebBrowser.Bounds
For powershell try googling. For example, here .
PS Hashcode, why did you lose the edit?
|