How can I programmaticly change windows display setting from Extend desktop to Clone desktop and the other way around ?
If you are using Windows7 you can use DisplaySwitch.exe
file with parameters /extend
and /clone
This issue isn't going to be a simple "call this method in this .NET class" I don't believe. However, it can be done using the EnumDisplaySettingsEx()
API. Here is a SO question similar to yours that has the information you need to dig into this issue:
How do I enable a second monitor in C#?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With