DisplayInformation.RawDpiX | rawDpiX property

Applies to Windows and Windows Phone

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

Syntax


var rawDpiX = displayInformation.rawDpiX;

Property value

Type: Number [JavaScript] | System.Single [.NET] | float32 [C++]

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.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Graphics.Display
Windows::Graphics::Display [C++]

Metadata

Windows.winmd

See also

DisplayInformation

 

 

Show:
© 2014 Microsoft