Table of Contents

Method GetDefaultDPI

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

GetDefaultDPI()

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

public virtual SizeI GetDefaultDPI()

Returns

SizeI

Remarks

Currently the base DPI is the same in both horizontal and vertical directions on all platforms and its value is 96 everywhere except under Apple devices (those running macOS, iOS, watchOS etc), where it is 72.