Share via


DisplayInformation.RawDpiX Property

Definition

Gets the raw dots per inch (DPI) along the x axis of the display monitor.

public:
 property float RawDpiX { float get(); };
float RawDpiX();
public float RawDpiX { get; }
var single = displayInformation.rawDpiX;
Public ReadOnly Property RawDpiX As Single

Property Value

Single

float

The raw dots per inch (DPI) along the x axis of the display monitor.

Remarks

This property can return 0 when the monitor doesn't provide physical dimensions and when the user is in a clone or duplicate multiple-monitor setup.

Applies to