Прочетете на английски Редактиране

Споделяне чрез


Control.DeviceDpi Property

Definition

Gets the DPI value for the display device where the control is currently being displayed.

C#
[System.ComponentModel.Browsable(false)]
public int DeviceDpi { get; }

Property Value

The DPI value of the display device.

Attributes

Applies to

Продукт Версии
.NET Framework 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10