Windows操作系统如何应用屏幕反映为x?

Windows 7,8,10我仍然不能做我喜欢做的事情在Linux reflect x

在Linux中,这是完美的作品: export DISPLAY=:0.0 && xrandr --output $a --reflect x

但是我现在需要为Windows 7,8,10进行整个应用程序。

但是,在Windows中我找不到任何选项来做到这一点。

我怎么能做reflect x (这是180度旋转,然后水平翻转如下面的截图所示,这是用于新闻电video道)在Windows中? 在这里输入图像描述

(有什么方法使用C#或Java或Python或Windows批处理脚本?)

假设它还没有被禁用 ,你可以按ctrlalt (并按下Ctrlalt )。 如果你真的需要以编程的方式做到这一点, 改变屏幕方向 msdn条目包括这个c#示例顺时针旋转屏幕,

 // initialize the DEVMODE structure DEVMODE dm = new DEVMODE(); dm.dmDeviceName = new string(new char[32]); dm.dmFormName = new string(new char[32]); dm.dmSize = Marshal.SizeOf(dm); if (0 != NativeMethods.EnumDisplaySettings(null, NativeMethods.ENUM_CURRENT_SETTINGS, ref dm)) { // swap width and height int temp = dm.dmPelsHeight; dm.dmPelsHeight = dm.dmPelsWidth; dm.dmPelsWidth = temp; // determine new orientation switch(dm.dmDisplayOrientation) { case NativeMethods.DMDO_DEFAULT: dm.dmDisplayOrientation = NativeMethods.DMDO_270; break; case NativeMethods.DMDO_270: dm.dmDisplayOrientation = NativeMethods.DMDO_180; break; case NativeMethods.DMDO_180: dm.dmDisplayOrientation = NativeMethods.DMDO_90; break; case NativeMethods.DMDO_90: dm.dmDisplayOrientation = NativeMethods.DMDO_DEFAULT; break; default: // unknown orientation value // add exception handling here break; } int iRet = NativeMethods.ChangeDisplaySettings(ref dm, 0); if (NativeMethods.DISP_CHANGE_SUCCESSFUL != iRet) { // add exception handling here } }