Table of Contents

Interface IDisplayFactoryHandler

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains methods and properties which allow to work with displays.

public interface IDisplayFactoryHandler : IDisposable

Methods

CreateDisplay()

Creates IDisplayHandler interface provider for the default display.

CreateDisplay(int)

Creates IDisplayHandler interface provider for the display with the specified index.

GetCount()

Gets the number of connected displays.

GetDefaultDPI()

Gets default base display resolution for the current platform as SizeI.

GetFromControl(Control)

Returns the index of the display on which the given control lies.

GetFromPoint(PointI)

Returns the index of the display on which the given point lies, or -1 if the point is not on any connected display.