Control.DeviceDpi 属性  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取显示当前控件的显示设备的 DPI 值。
public:
 property int DeviceDpi { int get(); };[System.ComponentModel.Browsable(false)]
public int DeviceDpi { get; }[<System.ComponentModel.Browsable(false)>]
member this.DeviceDpi : intPublic ReadOnly Property DeviceDpi As Integer属性值
显示设备的 DPI 值。
- 属性