Control.DeviceDpi Control.DeviceDpi Control.DeviceDpi Control.DeviceDpi Property

定义

获取显示当前控件的显示设备的 DPI 值。Gets the DPI value for the display device where the control is currently being displayed.

public:
 property int DeviceDpi { int get(); };
[System.ComponentModel.Browsable(false)]
public int DeviceDpi { get; }
member this.DeviceDpi : int
Public ReadOnly Property DeviceDpi As Integer

属性值

显示设备的 DPI 值。The DPI value of the display device.

适用于