我使用下面的C#代码来获得屏幕尺寸的显示器在UWP。 var displayInformation = DisplayInformation.GetForCurrentView();
var screenSize = new Size((int)displayInformation.ScreenWidthInRawPixels,
(int)displayInformation.ScreenHeightInRawPixels); 但问题是它返回的是第一个监视器分辨率。我有两个显示器,我需要在运行应用程序的显示器上设置屏
我的笔记本电脑有Intel Mobile is 965/is 960集成图形控制器,屏幕大小为1280x800。当我插入另一个液晶显示器(ThinkVision 22")时,笔记本电脑屏幕的上半部分变成黑色。
我可以看到:-上面的面板(在两台显示器上)--笔记本电脑屏幕的底部大小,上面有所有的窗口和东西--鼠标光标穿过笔记本电脑屏幕的上半部分,在第二个屏幕上到处都是。
我看不到:-笔记本电脑屏幕上半部的任何东西(鼠标光标除外)--第二个屏幕上的任何东西(顶部面板和鼠标光标除外)。
我以前用过Ubuntu10.10和相同的硬件和同样的两台显示器--一切都很好。但现在我不能用另一个显示器了
我知道如何在一个Vaadin14.1应用程序的屏幕上呈现JPEG图像。
特别是以下三行:
imageReader.setInput( imageInputStream ); // Render the image from the data provided by the `ImageInputStream`.
imageWidget.setWidth( imageReader.getWidth( 0 ) + "px" ); // Get the pixel size of the rendered image.
imageWidget.setHeight( imageRead