ScreenLogicalPixelSize Property |
Gets the number of physical pixels per logical pixel of this display.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public float LogicalPixelSize { get; }
Public ReadOnly Property LogicalPixelSize As Single
Get
member LogicalPixelSize : float32 with get
Property Value
Type:
SingleThe number of physical pixels for each logical pixel.
Remarks
On Retina/HighDPI displays, this will usually return 2.0, but can also be a fraction of pixels.
Non-retina will return 1.0.
This essentially returns the value of
RealScale divided by
Scale.
See Also