UtilDisplayGetScreenFromDisplayDevice Method
Namespace: DevCase.Core.IO.Devices.DisplayAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Screen GetScreenFromDisplayDevice(
DisplayDevice device
)
Public Shared Function GetScreenFromDisplayDevice (
device As DisplayDevice
) As Screen
Dim device As DisplayDevice
Dim returnValue As Screen
returnValue = UtilDisplay.GetScreenFromDisplayDevice(device)
public:
static Screen^ GetScreenFromDisplayDevice(
DisplayDevice device
)
static member GetScreenFromDisplayDevice :
device : DisplayDevice -> Screen
No code example is currently available or this language may not be supported.
- device DisplayDevice
-
The DisplayDevice.
Screen
The resulting
Screen.
This is a code example.
No code example is currently available or this language may not be supported.
Dim displayDevices As ReadOnlyCollection(Of DisplayDevice) = GetDisplayDevices()
Dim scr As Screen = GetScreenFromDisplayName(displayDevices.First())
Console.WriteLine($"Name: {scr.DeviceName}")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.