 | ScreenInfo class |
Minimum information about a screen.
Thanks to Nils on StackOverflow http://stackoverflow.com/questions/1927540/how-to-get-the-size-of-the-current-screen-in-wpf.
Inheritance hierarchy Namespace: NetEti.MultiScreenAssembly: NetEti.MultiScreen (in NetEti.MultiScreen.dll) Version: 1.0.0+6dae38196d8eac9695b29c123b220fb2bfe07211
Syntaxpublic ref class ScreenInfo
type ScreenInfo = class end
The ScreenInfo Type exposes the following members.
Constructors
Properties
Methods | Name | Description of the |
---|
  | ClipToAllScreens |
Returns the transferred point, but changes it if necessary,
its coordinates in such a way that the point, including margins, is on every
case is within the maximum coordinates for all screens.
|
  | GetActualScreenInfo |
Provides properties of the current screen.
|
  | GetActualScreenInfoIndex |
Returns the index of the current screen in the list of all screens.
|
  | GetAllScreenInfos |
Information for all screens plus a virtual overall screen.
|
  | GetFirstScreenInfo |
Returns properties of the first (main) screen.
|
  | GetLastActualScreenInfo |
Returns properties of the last current screen.
|
  | GetMainWindowScreenInfo |
Provides the thread safe position and dimensions of the MainWindow.
|
 | GetNextPointWithinActualScreenCoordinates(Point) |
Returns the transferred point, but changes it if necessary,
its coordinates in such a way that the point is in any case within
of the coordinates of the current screen.
|
 | GetNextPointWithinActualScreenCoordinates(Point, Double, Double) |
Returns the transferred point, but changes it if necessary,
its coordinates in such a way that the point, including the margin, is on every
case is within the coordinates of the current screen.
|
 | IsWithinActualScreenCoordinates(Point) |
True if the passed point is within the
Screen coordinates of the current screen.
|
 | IsWithinActualScreenCoordinates(Point, Double, Double) |
True if the passed point is at least the distance margin
is located within the screen coordinates of the current screen.
|
Back to the top
Remarks
File: ScreenInfo.cs
Author: Erik Nagel, NetEti
31/08/2015 Erik Nagel: created.
17.01.2024 Erik Nagel: ClipToAllScreens, GetMainWindowScreenInfo and GetFirstScreenInfo implemented.
See also