سؤال

I'm wondering if it's possible to extract Windows monitor layout information programmatically in .NET. At a minimum, the information I'm interested in is the screen resolution and position in some coordinate space. Model and physical dimensions would be useful. The ability to write back to the layout would be awesome.

enter image description here

هل كانت مفيدة؟

المحلول

Try the AllScreens property of the Screen class, that should give you at least a starting point regarding your multiple monitor setup. I don't know if you can use it to manipulate values though.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top