Click or drag to resize

Screen Class

Represents a display on the system.
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class Screen : Widget

The Screen type exposes the following members.

Constructors
  NameDescription
Public methodScreen
Initializes a new instance of the Screen class.
Public methodScreen(ScreenIHandler)
Initializes a new instance of the Screen class with the specified handler.
Top
Properties
  NameDescription
Public propertyBitsPerPixel
Gets the number of bits each pixel uses to represent its color value.
Public propertyBounds
Gets the bounds of the display in the DisplayBounds area.
Public propertyStatic memberDisplayBounds
Gets the display bounds of all screens on the current system.
Public propertyDPI
Gets the logical Dots/Pixels Per Inch of the screen.
Public propertyIsPrimary
Gets a value indicating whether this screen is the primary/main screen.
Public propertyLogicalPixelSize
Gets the number of physical pixels per logical pixel of this display.
Public propertyStatic memberPrimaryScreen
Gets the primary screen of the current system.
Public propertyRealDPI
Gets the real Dots/Pixels Per Inch of the screen, accounting for retina displays.
Public propertyRealScale
Gets the real scale of the pixels of the screen vs. points.
Public propertyScale
Gets the logical scale of the pixels of the screen vs. points.
Public propertyStatic memberScreens
Gets an enumerable of display screens available on the current system.
Public propertyWorkingArea
Gets the working area of the display, excluding any menu/task bars, docks, etc.
Top
Methods
  NameDescription
Public methodStatic memberFromPoint
Gets the screen that contains the specified point, or the closest screen to the point if it is outside the bounds of all screens.
Public methodStatic memberFromRectangle
Gets the screen that encompases the biggest part of the specified rectangle, or the closest screen to the rectangle if it is outside the bounds of all screens..
Public methodGetImage
Gets a copy of a portion of the screen as an image
Top
See Also